… | |
… | |
125 | |
125 | |
126 | /* Update the players stats once per tick. More efficient than |
126 | /* Update the players stats once per tick. More efficient than |
127 | * sending them whenever they change, and probably just as useful |
127 | * sending them whenever they change, and probably just as useful |
128 | */ |
128 | */ |
129 | esrv_update_stats (pl); |
129 | esrv_update_stats (pl); |
|
|
130 | if (pl->ns->update_spells) |
|
|
131 | esrv_update_spells (pl); |
130 | |
132 | |
131 | sint32 weight = pl->ob->client_weight (); |
133 | sint32 weight = pl->ob->client_weight (); |
132 | |
134 | |
133 | if (last_weight != weight) |
135 | if (last_weight != weight) |
134 | { |
136 | { |