PDA

Просмотр полной версии : [10077] Add delayed far teleports for opcode handlers


newsbot
19.06.2010, 06:07
<pre>m src/game/CharacterHandler.cpp
m src/game/WorldSession.cpp
m src/game/WorldSession.h
m src/shared/revision_nr.h

[10077] Add delayed far teleports for opcode handlers

Some opcode handlers have many code with possible deep calling
far teleports by some reason (death, quest script, etc).
This can be triggering unexpected lost Map context and crashs result.

Note: player login opcode still have disbled delayed teleports (old way work)
just becase Player object created in it and not have flag set.
Calling point look not 100% safe but at this commit this way not chnages for
while.</pre>



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