From 2e39b2f0ce099aa167c8a188d88e30af4bfc19f3 Mon Sep 17 00:00:00 2001 From: Colin Noga Date: Sat, 25 May 2013 00:03:33 -0500 Subject: A large number of fixes - ramboo, samurai, shy guy, topman, MrSun, classic controller --- src/bossSamurshai.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/bossSamurshai.cpp') 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); -- cgit v1.2.3