GIDL: do not make stone doors static back

install-platforms
Maikel de Vries 2018-01-13 18:26:20 +01:00
parent 187b887cdf
commit 05268d140b
1 changed files with 2 additions and 1 deletions

View File

@ -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!