mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 09:44:45 +01:00
[svn] *** Source: MaNGOS ***
* Fixed build extractor at Windows Vista. Author: Vladimir * Fixed comment text and code indentifiers spelling. Author: Vladimir & Paradox. * Access cached member lists in guild handlers instead of querying the DB. Author: Hunuza * Small fixes in send/received packet and simple code cleanup also. Author: Vladimir * Not output error at loading empty character_ticket table. Author: Vladimir * Not reset display model at shapeshift aura remove if it not set at apply. Author: Arthorius * Applied props to few files. --HG-- branch : trunk
This commit is contained in:
@@ -255,7 +255,7 @@ ObjectGridUnloader::Visit(GridRefManager<T> &m)
|
||||
{
|
||||
T *obj = m.getFirst()->getSource();
|
||||
// if option set then object already saved at this moment
|
||||
if(!sWorld.getConfig(CONFIG_SAVE_RESPAWN_TIME_IMMEDIATLY))
|
||||
if(!sWorld.getConfig(CONFIG_SAVE_RESPAWN_TIME_IMMEDIATELY))
|
||||
obj->SaveRespawnTime();
|
||||
///- object must be out of world before delete
|
||||
obj->RemoveFromWorld();
|
||||
@@ -276,7 +276,7 @@ ObjectGridUnloader::Visit(CreatureMapType &m)
|
||||
{
|
||||
Creature *obj = m.getFirst()->getSource();
|
||||
// if option set then object already saved at this moment
|
||||
if(!sWorld.getConfig(CONFIG_SAVE_RESPAWN_TIME_IMMEDIATLY))
|
||||
if(!sWorld.getConfig(CONFIG_SAVE_RESPAWN_TIME_IMMEDIATELY))
|
||||
obj->SaveRespawnTime();
|
||||
///- object will get delinked from the manager when deleted
|
||||
delete obj;
|
||||
|
||||
Reference in New Issue
Block a user