--- deliantra/server/common/living.C 2009/11/07 18:30:05 1.100 +++ deliantra/server/common/living.C 2009/11/09 18:47:55 1.101 @@ -1407,11 +1407,8 @@ /* It is quite possible that a player's spell costing might have changed, * so we will check that now. */ - if (type == PLAYER) - { - esrv_update_stats (contr); - esrv_update_spells (contr); - } + if (is_player ()) + contr->update_spells (); // update the mapspace, if we are on a map if (!flag [FLAG_REMOVED] && map) @@ -1654,12 +1651,7 @@ } if (changed) - { - who->update_stats (); - esrv_update_stats (who->contr); - /* check if the spell data has changed */ - esrv_update_spells (who->contr); - } + who->update_stats (); // should cause esrv_update_stats and esrv_update_spells } /*