PDA

Просмотр полной версии : [11730] Move empty guid check into GetPlayerAccountIdByGUID code.


newsbot
10.07.2011, 06:01
автор: VladimirMangos


<pre>m src/game/AuctionHouseHandler.cpp
m src/game/AuctionHouseMgr.cpp
m src/game/MailHandler.cpp
m src/game/ObjectMgr.cpp
m src/shared/revision_nr.h
</pre>
<pre style='white-space:pre-wrap;width:81ex'>[11730] Move empty guid check into GetPlayerAccountIdByGUID code.

This cleanup small code and let catch some missing check cases
when 0 guid attempt searched by real DB query.

This also make function call more safe if it used with non-player guid by
some reason.</pre>




Подробнее... (https://github.com/mangos/mangos/commit/26def175a2035623f49bd9008c25130a04bb3a5c)