… | |
… | |
124 | pl->dirty = true; |
124 | pl->dirty = true; |
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 | pl->need_updated_stats (); |
129 | esrv_update_stats (pl); |
130 | esrv_update_stats (pl); |
|
|
131 | |
130 | if (pl->ns->update_spells) |
132 | if (pl->ns->update_spells) |
131 | esrv_update_spells (pl); |
133 | esrv_update_spells (pl); |
132 | |
134 | |
133 | sint32 weight = pl->ob->client_weight (); |
135 | sint32 weight = pl->ob->client_weight (); |
134 | |
136 | |