summaryrefslogtreecommitdiff
path: root/src/bossSamurshai.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/bossSamurshai.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bossSamurshai.cpp b/src/bossSamurshai.cpp
index 12adfeb..ba871cd 100644
--- a/src/bossSamurshai.cpp
+++ b/src/bossSamurshai.cpp
@@ -264,7 +264,7 @@ daSamurshai *daSamurshai::build() {
if (collMgr.isOnTopOfTile()) {
isBouncing = true;
}
- pos.x = direction ? pos.x + speed.x : pos.x - speed.x;
+ pos.x += direction ? 2.0 : -2.0;
return true;
}
return false;
@@ -339,7 +339,7 @@ int daSamurshai::onCreate() {
_324 = 18.0f;
// These structs tell stupid collider what to collide with - these are from koopa troopa
- static const lineSensor_s below(12<<12, 4<<12, 0<<12);
+ static const lineSensor_s below(-0<<12, 0<<12, 0<<12);
static const pointSensor_s above(0<<12, 12<<12);
static const lineSensor_s adjacent(6<<12, 9<<12, 6<<12);