Commit [r9478] Maximize Restore History

If the target of an attack is deleted (logout), then return the attacker

to the peaceful state. The problem was that the psCombatAttackGameEvent
used iDeleteObjectCallback incorrectly to clear both attacker and target
pointers instead of just the target. When the event triggered, the
attacker's pointer wasn't available to clear the combat state even though
the attacker's object wasn't deleted (just the target was).

ralphcampbell 2014-04-26

changed /trunk/src/server/combatmanager.cpp
changed /trunk/src/server/bulkobjects/psattack.cpp
changed /trunk/src/server/bulkobjects/psattack.h
changed /trunk/src/server/entitymanager.cpp
changed /trunk/src/server/gem.cpp
changed /trunk/src/server/gem.h
/trunk/src/server/combatmanager.cpp Diff Switch to side-by-side view
Loading...
/trunk/src/server/bulkobjects/psattack.cpp Diff Switch to side-by-side view
Loading...
/trunk/src/server/bulkobjects/psattack.h Diff Switch to side-by-side view
Loading...
/trunk/src/server/entitymanager.cpp Diff Switch to side-by-side view
Loading...
/trunk/src/server/gem.cpp Diff Switch to side-by-side view
Loading...
/trunk/src/server/gem.h Diff Switch to side-by-side view
Loading...