Fix that NOBUILDZONE and NOGRENADEZONE flags don't get unset.
This commit is contained in:
parent
8cf8cab514
commit
a164607f06
|
@ -81,7 +81,7 @@ class player:NSClientPlayer
|
||||||
|
|
||||||
virtual void SpawnIntoGame(void);
|
virtual void SpawnIntoGame(void);
|
||||||
virtual void MakeClass(classtype_e);
|
virtual void MakeClass(classtype_e);
|
||||||
|
virtual void ServerInputFrame(void);
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -257,6 +257,14 @@ player::PredictPostFrame(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
void
|
||||||
|
player::ServerInputFrame(void)
|
||||||
|
{
|
||||||
|
super::ServerInputFrame();
|
||||||
|
gflags &= ~GF_NOBUILDZONE;
|
||||||
|
gflags &= ~GF_NOGRENADEZONE;
|
||||||
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
player::EvaluateEntity(void)
|
player::EvaluateEntity(void)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue