summaryrefslogtreecommitdiff
path: root/src/game/units.cpp
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2018-04-21 19:42:06 +0200
committerPaweł Redman <pawel.redman@gmail.com>2018-04-21 19:42:06 +0200
commit760a85015720ba4177a116678cfd305fe1ff2ea9 (patch)
treeca349b4c719b6a7106a2d1a875aaa7601c806fe1 /src/game/units.cpp
parentc3a8bc36ce75984bdb5a54fbae4f77d84e4efbcc (diff)
Gathering mechanic for scientists.
Diffstat (limited to 'src/game/units.cpp')
-rw-r--r--src/game/units.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/units.cpp b/src/game/units.cpp
index ef74b74..26cf808 100644
--- a/src/game/units.cpp
+++ b/src/game/units.cpp
@@ -198,6 +198,7 @@ void unit_t::damage(int points, unit_t *attacker)
switch (type) {
case UNIT_SOLDIER:
+ case UNIT_SCIENTIST:
alien = false;
break;