diff options
Diffstat (limited to 'src/game/unit_builder.cpp')
-rw-r--r-- | src/game/unit_builder.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/unit_builder.cpp b/src/game/unit_builder.cpp index d35a1fc..0deae3c 100644 --- a/src/game/unit_builder.cpp +++ b/src/game/unit_builder.cpp @@ -90,8 +90,8 @@ void unit_builder_t::command_build(v2f_t where, type_t what) } switch (what) { - case UNIT_REPL: - built = new unit_repl_t(game); + case UNIT_TELEPORTER: + built = new unit_teleporter_t(game); price = 250; break; @@ -147,7 +147,7 @@ void unit_builder_t::repair(void) } unit = dynamic_cast<unit_t*>(trace.ent); - if (unit->type != UNIT_REPL || unit->health >= unit->max_health) { + if (unit->type != UNIT_TELEPORTER || unit->health >= unit->max_health) { repairing = false; return; } |