--- deliantra/server/socket/loop.C 2009/10/12 14:00:59 1.82 +++ deliantra/server/socket/loop.C 2009/11/11 04:45:23 1.85 @@ -1,9 +1,7 @@ /* * This file is part of Deliantra, the Roguelike Realtime MMORPG. * - * Copyright (©) 2005,2006,2007,2008 Marc Alexander Lehmann / Robin Redeker / the Deliantra team - * Copyright (©) 2002-2003,2007 Mark Wedel & The Crossfire Development Team - * Copyright (©) 1992,2007 Frank Tore Johansen + * Copyright (©) 2005,2006,2007,2008,2009 Marc Alexander Lehmann / Robin Redeker / the Deliantra team * * Deliantra is free software: you can redistribute it and/or modify it under * the terms of the Affero GNU General Public License as published by the @@ -128,8 +126,12 @@ /* Update the players stats once per tick. More efficient than * sending them whenever they change, and probably just as useful */ + pl->need_updated_stats (); esrv_update_stats (pl); + if (pl->ns->update_spells) + esrv_update_spells (pl); + sint32 weight = pl->ob->client_weight (); if (last_weight != weight)