summaryrefslogtreecommitdiff
path: root/src/game/units.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/units.cpp')
-rw-r--r--src/game/units.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/units.cpp b/src/game/units.cpp
index 26cf808..e9abda4 100644
--- a/src/game/units.cpp
+++ b/src/game/units.cpp
@@ -199,6 +199,7 @@ void unit_t::damage(int points, unit_t *attacker)
switch (type) {
case UNIT_SOLDIER:
case UNIT_SCIENTIST:
+ case UNIT_BUILDER:
alien = false;
break;
@@ -220,6 +221,7 @@ void unit_t::die(unit_t *killer)
switch (type) {
case UNIT_SOLDIER:
case UNIT_SCIENTIST:
+ case UNIT_BUILDER:
case UNIT_SPIDER:
game->interface.print(name + " died.");
break;