mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 13:47:58 +03:00
Set the server huddraw elements on single-player mode
This fixes huddraw elements not being archived properly when the map starts
This commit is contained in:
parent
2342f08a79
commit
154464cda1
4 changed files with 37 additions and 22 deletions
|
@ -437,7 +437,7 @@ void SV_MasterShutdown (void);
|
|||
int SV_RateMsec(client_t *client);
|
||||
|
||||
void SV_ArchiveHudDrawElements( qboolean loading );
|
||||
void SV_HudDrawShader( int iInfo, char *name );
|
||||
void SV_HudDrawShader( int iInfo, const char *name );
|
||||
void SV_HudDrawAlign( int iInfo, int iHorizontalAlign, int iVerticalAlign );
|
||||
void SV_HudDrawRect( int iInfo, int iX, int iY, int iWidth, int iHeight );
|
||||
void SV_HudDrawVirtualSize( int iInfo, qboolean bVirtualScreen );
|
||||
|
|
|
@ -1922,7 +1922,7 @@ void SV_ArchiveHudDrawElements(qboolean loading)
|
|||
SV_HudDrawShader
|
||||
==================
|
||||
*/
|
||||
void SV_HudDrawShader(int iInfo, char *name)
|
||||
void SV_HudDrawShader(int iInfo, const char *name)
|
||||
{
|
||||
#ifndef DEDICATED
|
||||
Q_strncpyz(cls.HudDrawElements[iInfo].shaderName, name, sizeof(cls.HudDrawElements[iInfo].shaderName));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue