summaryrefslogtreecommitdiff
path: root/src/game/units.cpp
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2018-04-01 15:03:23 +0200
committerPaweł Redman <pawel.redman@gmail.com>2018-04-01 15:04:02 +0200
commit30c5c419aedd0e5aae92be6e0eee83f0b6690c6e (patch)
treef0e37219c6bfd88e6fab44fbfc6319bab650eeb8 /src/game/units.cpp
parent020e91ca69f35329eae518f3fe92afba2e117d06 (diff)
Add the replicator (not finished).
Placeholder sounds from Tremulous, as usual.
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 bbddd93..e266782 100644
--- a/src/game/units.cpp
+++ b/src/game/units.cpp
@@ -21,6 +21,7 @@ namespace game {
unit_t::unit_t(game::state_t *game_, unit_t::type_t type_) : game::entity_t(game_, ET_UNIT)
{
+ game = game_;
type = type_;
}