PDA

Просмотр полной версии : [8960] fix crash introduced with 8805


newsbot
10.12.2009, 01:00
<pre>m src/game/MovementHandler.cpp
m src/shared/revision_nr.h

[8960] fix crash introduced with 8805

or actualy i didn't introduce a new crash there.. the old crash
just changed a bit..
after we force the player to logout without valid mapcoords the player wasn't in
world anymore and through that Getplayer()->GetMap()->RemoveFromWorld()
caused a crash..

i changed now the error handling inside farteleport there.. instead of forcing
a logout without saving, i just port him to his homebind
which will be much nicer

(minor cleanup with the other homebind teleportation.. we don't need to check
for the error there.. homebind realy should be a valid coord)</pre>



Дальше... (http://github.com/mangos/mangos/commit/1f740964e59d067c7a492667167a17061ab42152)