diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2018-04-22 17:37:38 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2018-04-22 17:37:38 +0200 |
commit | 87422cff1507f8b5a8633eee5dadbadfef872dab (patch) | |
tree | 19335fc72bde60efd41c9f87f3b8f44b153af5a4 /src/game/units.cpp | |
parent | 478c6d955abc27024599aefbf483f55efe39da55 (diff) |
Add the builder.
Diffstat (limited to 'src/game/units.cpp')
-rw-r--r-- | src/game/units.cpp | 2 |
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; |