summaryrefslogtreecommitdiff
path: root/src/game/game.cpp
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2017-12-19 13:41:52 +0100
committerPaweł Redman <pawel.redman@gmail.com>2017-12-19 13:41:52 +0100
commitdef701e42a40a1d95c3195be0c07d9b7b71cdd1d (patch)
tree2026fd15d6bf38d3323ecbf5ed71a61b016929bb /src/game/game.cpp
parent139779aecad253155d90ee1a68403dece48a3a02 (diff)
Automatic camera following.
Diffstat (limited to 'src/game/game.cpp')
-rw-r--r--src/game/game.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/game.cpp b/src/game/game.cpp
index fedc403..22b883e 100644
--- a/src/game/game.cpp
+++ b/src/game/game.cpp
@@ -74,6 +74,7 @@ void state_t::start(void)
soldier->place(&world, v2f_t(1.5, 0.5));
soldier = new unit_soldier_t(this);
soldier->place(&world, v2f_t(2.5, 0.5));
+ select(rectf_t(v2f_t(0.5, 0.5), v2f_t(2.5, 0.5)));
}
void state_t::stop(void)