Fix the zone triggers from not activating.
This commit is contained in:
parent
f14648a7f4
commit
d0ebfb8205
4 changed files with 6 additions and 7 deletions
|
@ -19,7 +19,7 @@ class CSGameRules:CGameRules
|
|||
virtual void PlayerConnect(NSClientPlayer);
|
||||
virtual void PlayerDisconnect(NSClientPlayer);
|
||||
virtual void PlayerKill(NSClientPlayer);
|
||||
virtual void PlayerPostFrame(NSClientPlayer);
|
||||
virtual void PlayerPreFrame(NSClientPlayer);
|
||||
virtual void PlayerDeath(NSClientPlayer);
|
||||
virtual void PlayerPain(NSClientPlayer);
|
||||
|
||||
|
|
|
@ -33,8 +33,11 @@ CSGameRules::BuyingPossible(NSClientPlayer pl)
|
|||
/* we check what fields have changed over the course of the frame and network
|
||||
* only the ones that have actually changed */
|
||||
void
|
||||
CSGameRules::PlayerPostFrame(NSClientPlayer pp)
|
||||
CSGameRules::PlayerPreFrame(NSClientPlayer pp)
|
||||
{
|
||||
pp.gflags &= ~GF_BUYZONE;
|
||||
pp.gflags &= ~GF_RESCUEZONE;
|
||||
pp.gflags &= ~GF_BOMBZONE;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
@ -107,8 +107,7 @@ CSMultiplayerRules::PlayerDeath(NSClientPlayer pl)
|
|||
void
|
||||
CSMultiplayerRules::PlayerPreFrame(NSClientPlayer pl)
|
||||
{
|
||||
player pp = (player)pl;
|
||||
|
||||
super::PlayerPreFrame(pl);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
@ -495,9 +495,6 @@ void
|
|||
player::ServerInputFrame(void)
|
||||
{
|
||||
super::ServerInputFrame();
|
||||
gflags &= ~GF_BUYZONE;
|
||||
gflags &= ~GF_RESCUEZONE;
|
||||
gflags &= ~GF_BOMBZONE;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in a new issue