1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-09-19 20:16:10 +08:00

Removed freetime from edict_t and fixed comment regarding IndexOfEdict and PEntityOfEntIndex replacements

This commit is contained in:
Scott Ehlert
2008-11-14 22:57:15 -06:00
parent 3ef6aa802d
commit e70414add2

View File

@ -64,8 +64,8 @@ public:
int serverCount;
// First edict/entity, usually worldspawn (0)
// - Replacement for IndexOfEntity: (edict - baseEdict) >> 4
// - Replacement for PEntityOfIndex: baseEdict + (entIndex << 4)
// - Replacement for IndexOfEntity: edict - baseEdict
// - Replacement for PEntityOfEntIndex: baseEdict + entIndex
edict_t *baseEdict;
};
@ -421,7 +421,7 @@ public:
ICollideable *GetCollideable();
// The server timestampe at which the edict was freed (so we can try to use other edicts before reallocating this one)
float freetime;
// float freetime;
};
inline ICollideable *edict_t::GetCollideable()