summaryrefslogtreecommitdiff
path: root/src/bossSamurshai.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bossSamurshai.cpp')
-rw-r--r--src/bossSamurshai.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bossSamurshai.cpp b/src/bossSamurshai.cpp
index 59e8036..12adfeb 100644
--- a/src/bossSamurshai.cpp
+++ b/src/bossSamurshai.cpp
@@ -264,6 +264,7 @@ daSamurshai *daSamurshai::build() {
if (collMgr.isOnTopOfTile()) {
isBouncing = true;
}
+ pos.x = direction ? pos.x + speed.x : pos.x - speed.x;
return true;
}
return false;