a little cleanup of code save point
This commit is contained in:
parent
d300c13e85
commit
f8344a464e
18 changed files with 1197 additions and 1141 deletions
|
|
@ -55,8 +55,6 @@ extern int g_lastRadio[2];
|
|||
extern int g_storeAddbotVars[4];
|
||||
extern int *g_weaponPrefs[];
|
||||
|
||||
extern short g_modelIndexLaser;
|
||||
extern short g_modelIndexArrow;
|
||||
extern char g_fakeArgv[256];
|
||||
|
||||
extern Array <Array <String> > g_chatFactory;
|
||||
|
|
@ -92,16 +90,6 @@ static inline bool IsNullString (const char *input)
|
|||
return *input == '\0';
|
||||
}
|
||||
|
||||
static inline float GetWorldTime (void)
|
||||
{
|
||||
return g_pGlobals->time;
|
||||
}
|
||||
|
||||
static inline int GetMaxClients (void)
|
||||
{
|
||||
return g_pGlobals->maxClients;
|
||||
}
|
||||
|
||||
static inline edict_t *EntityOfIndex (const int index)
|
||||
{
|
||||
return static_cast <edict_t *> (g_worldEntity + index);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue