summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2017-10-21 14:30:21 +0200
committerPaweł Redman <pawel.redman@gmail.com>2017-10-21 14:30:21 +0200
commit42fece714e30b899208a90183a571452eb35811e (patch)
tree639b418d015d3efeec9b0fd0eedea7d60207f76b
parent886a97593c1da1351f978c3dc39d9c1ea2ab57d9 (diff)
Missing re-linking in movement code.
-rw-r--r--src/game.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 2d9b67e..97aee59 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -75,7 +75,9 @@ public:
}
}
+ unlink();
compute_bounds();
+ link(world);
}
bool start_moving(v2f_t dst_)