Fix that NOBUILDZONE and NOGRENADEZONE flags don't get unset.

This commit is contained in:
Marco Cawthorne 2023-01-18 18:03:00 -08:00
parent 8cf8cab514
commit a164607f06
Signed by: eukara
GPG key ID: CE2032F0A2882A22

View file

@ -81,7 +81,7 @@ class player:NSClientPlayer
virtual void SpawnIntoGame(void);
virtual void MakeClass(classtype_e);
virtual void ServerInputFrame(void);
#endif
};
@ -257,6 +257,14 @@ player::PredictPostFrame(void)
}
#else
void
player::ServerInputFrame(void)
{
super::ServerInputFrame();
gflags &= ~GF_NOBUILDZONE;
gflags &= ~GF_NOGRENADEZONE;
}
void
player::EvaluateEntity(void)
{