diff options
author | Colin Noga <Tempus@chronometry.ca> | 2013-05-25 00:03:33 -0500 |
---|---|---|
committer | Colin Noga <Tempus@chronometry.ca> | 2013-05-25 00:03:33 -0500 |
commit | 2e39b2f0ce099aa167c8a188d88e30af4bfc19f3 (patch) | |
tree | 4d2b934e18131af6c21f155119eff0fcc2833afd /src/bossSamurshai.cpp | |
parent | 77b1f261686cbec9593656f404d059d9fdc6fe7f (diff) | |
download | kamek-2e39b2f0ce099aa167c8a188d88e30af4bfc19f3.tar.gz kamek-2e39b2f0ce099aa167c8a188d88e30af4bfc19f3.zip |
A large number of fixes - ramboo, samurai, shy guy, topman, MrSun, classic controller
Diffstat (limited to '')
-rw-r--r-- | src/bossSamurshai.cpp | 4 |
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); |