mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
[9844] Fix some whitespace errors.
Signed-off-by: hunuza <hunuza@gmail.com>
This commit is contained in:
parent
ec0141261a
commit
68abd76c97
20 changed files with 88 additions and 88 deletions
|
|
@ -466,7 +466,7 @@ void Pet::setDeathState(DeathState s) // overwrite virtual
|
|||
SetUInt32Value( UNIT_DYNAMIC_FLAGS, 0x00 );
|
||||
RemoveFlag (UNIT_FIELD_FLAGS, UNIT_FLAG_SKINNABLE);
|
||||
|
||||
//lose happiness when died and not in BG/Arena
|
||||
//lose happiness when died and not in BG/Arena
|
||||
MapEntry const* mapEntry = sMapStore.LookupEntry(GetMapId());
|
||||
if(!mapEntry || (mapEntry->map_type != MAP_ARENA && mapEntry->map_type != MAP_BATTLEGROUND))
|
||||
ModifyPower(POWER_HAPPINESS, -HAPPINESS_LEVEL_SIZE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue