mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-11 15:38:12 +00:00
Try fix build again.
This commit is contained in:
parent
ecaba0de22
commit
d217780789
@ -38,6 +38,7 @@
|
|||||||
#include "weaponinfo.h"
|
#include "weaponinfo.h"
|
||||||
#include "usercmd.h"
|
#include "usercmd.h"
|
||||||
#include "netadr.h"
|
#include "netadr.h"
|
||||||
|
#include "pm_shared.h"
|
||||||
|
|
||||||
extern DLL_GLOBAL ULONG g_ulModelIndexPlayer;
|
extern DLL_GLOBAL ULONG g_ulModelIndexPlayer;
|
||||||
extern DLL_GLOBAL BOOL g_fGameOver;
|
extern DLL_GLOBAL BOOL g_fGameOver;
|
||||||
@ -550,7 +551,7 @@ void ClientCommand( edict_t *pEntity )
|
|||||||
{
|
{
|
||||||
GetClassPtr( (CBasePlayer *)pev )->SelectLastItem();
|
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
|
// always allow proxies to become a spectator
|
||||||
if( ( pev->flags & FL_PROXY ) || allow_spectators.value )
|
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;
|
const char *functionName;
|
||||||
|
|
||||||
functionName = NAME_FOR_FUNCTION( *data );
|
functionName = NAME_FOR_FUNCTION( (unsigned int)(size_t)*data );
|
||||||
if( functionName )
|
if( functionName )
|
||||||
BufferField( pname, strlen( functionName ) + 1, functionName );
|
BufferField( pname, strlen( functionName ) + 1, functionName );
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user