Permalink
Browse files

GIDL: do not make stone doors static back

  • Loading branch information...
MDT-Maikel committed Jan 13, 2018
1 parent 187b887 commit 05268d140b49bcd84f920d0723992f20d949761a
Showing with 2 additions and 1 deletion.
  1. +2 −1 planet/Defense.ocf/FightForGidl.ocs/Script.c
@@ -152,7 +152,7 @@ func StartGame()
// Init objects to defend
for (var obj in [g_statue, g_doorleft, g_doorright]) if (obj)
{
- obj->SetCategory(C4D_Living | C4D_StaticBack);
+ obj->SetCategory(C4D_Living);
obj->SetAlive(true);
obj.MaxEnergy = 800000;
obj->DoEnergy(obj.MaxEnergy/1000);
@@ -161,6 +161,7 @@ func StartGame()
}
if (g_statue)
{
+ g_statue->SetCategory(C4D_Living | C4D_StaticBack);
g_statue.Death = Scenario.Statue_Death;
}
// Launch first wave!

0 comments on commit 05268d1

Please sign in to comment.