fix: wrong condition
This commit is contained in:
parent
3a026b1d4b
commit
94fcb8b5b5
1 changed files with 1 additions and 1 deletions
|
|
@ -1413,7 +1413,7 @@ float LightMeasure::getSkyColor () {
|
|||
Vector PlayerHitboxEnumerator::get (edict_t *ent, int part, float updateTimestamp) {
|
||||
auto parts = &m_parts[game.indexOfEntity (ent) % kGameMaxPlayers];
|
||||
|
||||
if (game.time () > updateTimestamp) {
|
||||
if (game.time () > parts->updated) {
|
||||
update (ent);
|
||||
parts->updated = game.time () + updateTimestamp;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue