PDA

Просмотр полной версии : [12155] Rewrite Checks required when entering a map


newsbot
09.09.2012, 06:40
Автор: cyberium


<pre>m src/game/InstanceData.h
m src/game/Map.cpp
m src/game/Map.h
m src/game/MapManager.cpp
m src/game/MapManager.h
m src/game/MiscHandler.cpp
m src/game/Player.cpp
m src/game/Player.h
m src/game/WorldSession.cpp
m src/game/WorldSession.h
m src/shared/revision_nr.h
</pre>
<pre style='white-space:pre-wrap;width:81ex'>[12155] Rewrite Checks required when entering a map

Expected way from now on is:
- Test if a map can be entered with Player::GetAreaTriggerLockStatus
- IF this doesn't return AREA_LOCKSTATUS_OK, and if wanted,
send the fail-message with Player::SendTransferAbortedByLockStatus function.

Please feedback any hidden problems!

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com></pre>


Подробнее... (https://github.com/cmangos/mangos-wotlk/commit/3d953117b15175598012416bd76806be9c4bcc69)