Core/Entities: Remove phasemask

This commit is contained in:
hondacrx
2018-01-10 22:26:47 -05:00
parent ae9b786784
commit 79980e3dd2
21 changed files with 41 additions and 67 deletions
+2 -2
View File
@@ -709,7 +709,7 @@ namespace Game.Garrisons
Position pos = PacketInfo.PlotPos;
GameObject go = new GameObject();
if (!go.Create(entry, map, 0, pos, Quaternion.WAxis, 255, GameObjectState.Active))
if (!go.Create(entry, map, pos, Quaternion.WAxis, 255, GameObjectState.Active))
return null;
if (BuildingInfo.CanActivate() && BuildingInfo.PacketInfo.HasValue && !BuildingInfo.PacketInfo.Value.Active)
@@ -719,7 +719,7 @@ namespace Game.Garrisons
{
Position pos2 = finalizeInfo.factionInfo[faction].Pos;
GameObject finalizer = new GameObject();
if (finalizer.Create(finalizeInfo.factionInfo[faction].GameObjectId, map, 0, pos2, Quaternion.WAxis, 255, GameObjectState.Ready))
if (finalizer.Create(finalizeInfo.factionInfo[faction].GameObjectId, map, pos2, Quaternion.WAxis, 255, GameObjectState.Ready))
{
// set some spell id to make the object delete itself after use
finalizer.SetSpellId(finalizer.GetGoInfo().Goober.spell);