Fix that NOBUILDZONE and NOGRENADEZONE flags don't get unset.
This commit is contained in:
parent
8cf8cab514
commit
a164607f06
1 changed files with 9 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue