newsbot
07.04.2011, 21:14
автор: VladimirMangos
<pre>m src/game/Chat.cpp
m src/game/Creature.cpp
m src/game/Creature.h
m src/game/GameEventMgr.cpp
m src/game/Level2.cpp
m src/game/Object.cpp
m src/game/Pet.cpp
m src/game/Pet.h
m src/game/PoolManager.cpp
m src/game/SpellEffects.cpp
m src/game/Totem.cpp
m src/game/Totem.h
m src/game/Vehicle.cpp
m src/game/Vehicle.h
m src/game/debugcmds.cpp
m src/shared/revision_nr.h
</pre>
<pre style='white-space:pre-wrap;width:81ex'>[11323] Avoid explicit use HIGHGUID_UNIT as creature high guid in guids or creature creating.
This helper change for allow have in future static spawned vehicles as `creature` table data.
Added CreatureInfo::GetHighGuid() high guid selector, and wrapper CreatureData::GetHighGuid()
for most real cases of usage. Also easy get expected guid form by CreatureData::GetObjectGuid(lowguid).
Also fixed some memory lost cases at creature spawn fail.</pre>
Дальше... (https://github.com/mangos/mangos/commit/d03b17c6ddc8a871f3cacb4e4d8900dec9c1bad0)
<pre>m src/game/Chat.cpp
m src/game/Creature.cpp
m src/game/Creature.h
m src/game/GameEventMgr.cpp
m src/game/Level2.cpp
m src/game/Object.cpp
m src/game/Pet.cpp
m src/game/Pet.h
m src/game/PoolManager.cpp
m src/game/SpellEffects.cpp
m src/game/Totem.cpp
m src/game/Totem.h
m src/game/Vehicle.cpp
m src/game/Vehicle.h
m src/game/debugcmds.cpp
m src/shared/revision_nr.h
</pre>
<pre style='white-space:pre-wrap;width:81ex'>[11323] Avoid explicit use HIGHGUID_UNIT as creature high guid in guids or creature creating.
This helper change for allow have in future static spawned vehicles as `creature` table data.
Added CreatureInfo::GetHighGuid() high guid selector, and wrapper CreatureData::GetHighGuid()
for most real cases of usage. Also easy get expected guid form by CreatureData::GetObjectGuid(lowguid).
Also fixed some memory lost cases at creature spawn fail.</pre>
Дальше... (https://github.com/mangos/mangos/commit/d03b17c6ddc8a871f3cacb4e4d8900dec9c1bad0)