Fix a retarded crash with husks; remove some debug

This commit is contained in:
Paul Chote
2010-08-03 01:16:24 +12:00
parent 053f0f5c7f
commit 8e82f6fa1a
3 changed files with 28 additions and 5 deletions

View File

@@ -63,8 +63,6 @@ namespace OpenRA.Mods.Cnc
{
if (self.IsDead())
return;
Game.Debug("Creating");
self.World.AddFrameEndTask(ww => DoProduction(self, cargo.Unload(self), exit, spawn));
}));
a.QueueActivity(new Fly(endPos));

View File

@@ -229,9 +229,6 @@
^Husk:
Category: Vehicle
Mobile:
ROT: 0
Speed: 0
Health:
HP: 140
Armor: Heavy

View File

@@ -336,6 +336,8 @@ MSAM:
Recoil: 0
RenderUnitTurreted:
AutoTarget:
LeavesHusk:
HuskActor: MSAM.Husk
MLRS:
Inherits: ^Tank
@@ -361,6 +363,8 @@ MLRS:
PrimaryOffset: 0,5,0,0
RenderUnitTurreted:
AutoTarget:
LeavesHusk:
HuskActor: MLRS.Husk
STNK:
Inherits: ^Vehicle
@@ -543,3 +547,27 @@ HTNK.Husk:
Spread: 3,3
Speed: 6
AnimKey: turret
MSAM.Husk:
Inherits: ^Husk
Valued:
Description: Husk (Rocket Launcher)
RenderUnit:
Image: msam
ThrowsParticle@turret:
Anim: turret
Spread: 3,3
Speed: 6
AnimKey: turret
MLRS.Husk:
Inherits: ^Husk
Valued:
Description: Husk (SSM Launcher)
RenderUnit:
Image: mlrs
ThrowsParticle@turret:
Anim: turret
Spread: 3,3
Speed: 6
AnimKey: turret