mirror of
https://github.com/FWGS/hlsdk-xash3d
synced 2024-11-22 09:57:21 +01:00
Try fix build again.
This commit is contained in:
parent
ecaba0de22
commit
d217780789
@ -38,6 +38,7 @@
|
||||
#include "weaponinfo.h"
|
||||
#include "usercmd.h"
|
||||
#include "netadr.h"
|
||||
#include "pm_shared.h"
|
||||
|
||||
extern DLL_GLOBAL ULONG g_ulModelIndexPlayer;
|
||||
extern DLL_GLOBAL BOOL g_fGameOver;
|
||||
@ -550,7 +551,7 @@ void ClientCommand( edict_t *pEntity )
|
||||
{
|
||||
GetClassPtr( (CBasePlayer *)pev )->SelectLastItem();
|
||||
}
|
||||
else if( FStrEq( pcmd, "spectate" ) // clients wants to become a spectator
|
||||
else if( FStrEq( pcmd, "spectate" ) ) // clients wants to become a spectator
|
||||
{
|
||||
// always allow proxies to become a spectator
|
||||
if( ( pev->flags & FL_PROXY ) || allow_spectators.value )
|
||||
|
@ -1890,7 +1890,7 @@ void CSave::WriteFunction( const char *pname, void **data, int count )
|
||||
{
|
||||
const char *functionName;
|
||||
|
||||
functionName = NAME_FOR_FUNCTION( *data );
|
||||
functionName = NAME_FOR_FUNCTION( (unsigned int)(size_t)*data );
|
||||
if( functionName )
|
||||
BufferField( pname, strlen( functionName ) + 1, functionName );
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user