Fix client build

This commit is contained in:
mittorn 2017-07-14 13:15:17 +00:00
parent 4661b5c1a5
commit a08bd614fe
2 changed files with 3 additions and 3 deletions

View File

@ -283,7 +283,7 @@ unsigned short stub_PrecacheEvent( int type, const char *s )
return 0; return 0;
} }
const char *stub_NameForFunction( unsigned long function ) const char *stub_NameForFunction( void *function )
{ {
return "func"; return "func";
} }

View File

@ -1,4 +1,4 @@
//========= Copyright © 1996-2002, Valve LLC, All rights reserved. ============ //========= Copyright (c) 1996-2002, Valve LLC, All rights reserved. ============
// //
// Purpose: // Purpose:
// //
@ -34,7 +34,7 @@ void HUD_SetMaxSpeed( const struct edict_s *ed, float speed );
int stub_PrecacheModel( char* s ); int stub_PrecacheModel( char* s );
int stub_PrecacheSound( char* s ); int stub_PrecacheSound( char* s );
unsigned short stub_PrecacheEvent( int type, const char *s ); unsigned short stub_PrecacheEvent( int type, const char *s );
const char *stub_NameForFunction( unsigned long function ); const char *stub_NameForFunction( void *function );
void stub_SetModel( struct edict_s *e, const char *m ); void stub_SetModel( struct edict_s *e, const char *m );
extern cvar_t *cl_lw; extern cvar_t *cl_lw;