diff options
author | Shauren <shauren.trinity@gmail.com> | 2018-01-10 22:01:40 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2018-01-10 22:01:40 +0100 |
commit | bb718b557862057524778414ee728bf1923a14a4 (patch) | |
tree | 1900ff0b592fed7aa83071a5b1a14b6dddacf8a3 /src/server/game/Garrison/Garrison.cpp | |
parent | 5b90538919cdf8b1984049bd203104128bec5bf2 (diff) |
Core/Entities: Remove phasemask
Diffstat (limited to 'src/server/game/Garrison/Garrison.cpp')
-rw-r--r-- | src/server/game/Garrison/Garrison.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Garrison/Garrison.cpp b/src/server/game/Garrison/Garrison.cpp index 2c6ea3e8732..22ac16d443f 100644 --- a/src/server/game/Garrison/Garrison.cpp +++ b/src/server/game/Garrison/Garrison.cpp @@ -731,7 +731,7 @@ GameObject* Garrison::Plot::CreateGameObject(Map* map, GarrisonFactionIndex fact } GameObject* building = new GameObject(); - if (!building->Create(entry, map, 0, PacketInfo.PlotPos.Pos, QuaternionData(), 255, GO_STATE_READY)) + if (!building->Create(entry, map, PacketInfo.PlotPos.Pos, QuaternionData(), 255, GO_STATE_READY)) { delete building; return nullptr; @@ -743,7 +743,7 @@ GameObject* Garrison::Plot::CreateGameObject(Map* map, GarrisonFactionIndex fact { Position const& pos2 = finalizeInfo->FactionInfo[faction].Pos; GameObject* finalizer = new GameObject(); - if (finalizer->Create(finalizeInfo->FactionInfo[faction].GameObjectId, map, 0, pos2, QuaternionData(), 255, GO_STATE_READY)) + if (finalizer->Create(finalizeInfo->FactionInfo[faction].GameObjectId, map, pos2, QuaternionData(), 255, GO_STATE_READY)) { // set some spell id to make the object delete itself after use finalizer->SetSpellId(finalizer->GetGOInfo()->goober.spell); |