mirror of https://github.com/FWGS/hlsdk-xash3d
Fix crash on removing spawnpoint
This commit is contained in:
parent
1443818300
commit
c8c1091242
|
@ -2585,7 +2585,7 @@ BOOL IsSpawnPointValid( CBaseEntity *pPlayer, CBaseEntity *pSpot )
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
DLL_GLOBAL CBaseEntity *g_pLastSpawn;
|
EHANDLE g_pLastSpawn;
|
||||||
inline int FNullEnt( CBaseEntity *ent ) { return ( ent == NULL ) || FNullEnt( ent->edict() ); }
|
inline int FNullEnt( CBaseEntity *ent ) { return ( ent == NULL ) || FNullEnt( ent->edict() ); }
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
extern CGraph WorldGraph;
|
extern CGraph WorldGraph;
|
||||||
extern CSoundEnt *pSoundEnt;
|
extern CSoundEnt *pSoundEnt;
|
||||||
|
|
||||||
extern CBaseEntity *g_pLastSpawn;
|
extern EHANDLE g_pLastSpawn;
|
||||||
DLL_GLOBAL edict_t *g_pBodyQueueHead;
|
DLL_GLOBAL edict_t *g_pBodyQueueHead;
|
||||||
CGlobalState gGlobalState;
|
CGlobalState gGlobalState;
|
||||||
extern DLL_GLOBAL int gDisplayTitle;
|
extern DLL_GLOBAL int gDisplayTitle;
|
||||||
|
|
Loading…
Reference in New Issue