We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 302d279 commit 5b1023cCopy full SHA for 5b1023c
src/p_tick.cpp
@@ -67,6 +67,12 @@ void P_RunClientsideLogic()
67
68
if (gamestate == GS_LEVEL || gamestate == GS_TITLELEVEL)
69
{
70
+ for (int i = 0; i < MAXPLAYERS; ++i)
71
+ {
72
+ if (playeringame[i] && players[i].inventorytics > 0)
73
+ --players[i].inventorytics;
74
+ }
75
+
76
for (auto level : AllLevels())
77
78
auto it = level->GetClientsideThinkerIterator<AActor>();
wadsrc/static/zscript/actors/player/player.zs
@@ -1671,10 +1671,6 @@ class PlayerPawn : Actor
1671
++BobTimer;
1672
CheckFOV();
1673
1674
- if (player.inventorytics)
1675
- {
1676
- player.inventorytics--;
1677
- }
1678
CheckCheats();
1679
1680
if (bJustAttacked)
0 commit comments