… | … | ||
---|---|---|---|
114 | void | 114 | void |
115 | client::tick () | 115 | client::tick () |
116 | { | 116 | { |
117 | if (!pl || destroyed ()) | 117 | if (!pl || destroyed ()) |
118 | return; | 118 | return; |
119 | |||
120 | pl->dirty = true; | ||
119 | 121 | ||
120 | /* Update the players stats once per tick. More efficient than | 122 | /* Update the players stats once per tick. More efficient than |
121 | * sending them whenever they change, and probably just as useful | 123 | * sending them whenever they change, and probably just as useful |
122 | */ | 124 | */ |
123 | esrv_update_stats (pl); | 125 | esrv_update_stats (pl); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |