mirror of
https://github.com/FWGS/hlsdk-xash3d
synced 2024-11-25 11:19:39 +01:00
Fix mistakes with saverestore after merge.
This commit is contained in:
parent
f575e78a9b
commit
4d1dc131b9
@ -1890,7 +1890,7 @@ void CSave::WriteFunction( const char *pname, void **data, int count )
|
||||
{
|
||||
const char *functionName;
|
||||
|
||||
functionName = NAME_FOR_FUNCTION( (unsigned int)(size_t)*data );
|
||||
functionName = NAME_FOR_FUNCTION( (size_t)*data );
|
||||
if( functionName )
|
||||
BufferField( pname, strlen( functionName ) + 1, functionName );
|
||||
else
|
||||
|
@ -172,8 +172,8 @@ typedef struct enginefuncs_s
|
||||
int (*pfnRegUserMsg)( const char *pszName, int iSize );
|
||||
void (*pfnAnimationAutomove)( const edict_t* pEdict, float flTime );
|
||||
void (*pfnGetBonePosition)( const edict_t* pEdict, int iBone, float *rgflOrigin, float *rgflAngles );
|
||||
unsigned int (*pfnFunctionFromName)( const char *pName );
|
||||
const char *(*pfnNameForFunction)( unsigned int function );
|
||||
size_t (*pfnFunctionFromName)( const char *pName );
|
||||
const char *(*pfnNameForFunction)( size_t function );
|
||||
void (*pfnClientPrintf)( edict_t* pEdict, PRINT_TYPE ptype, const char *szMsg ); // JOHN: engine callbacks so game DLL can print messages to individual clients
|
||||
void (*pfnServerPrint)( const char *szMsg );
|
||||
const char *(*pfnCmd_Args)( void ); // these 3 added
|
||||
|
Loading…
Reference in New Issue
Block a user