diff options
Diffstat (limited to 'src/topman.cpp')
-rw-r--r-- | src/topman.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/topman.cpp b/src/topman.cpp index cebf626..3d309a6 100644 --- a/src/topman.cpp +++ b/src/topman.cpp @@ -39,7 +39,6 @@ class daTopman : public dEn_c { void updateModelMatrices(); bool calculateTileCollisions(); - // void spriteCollision(ActivePhysics *apThis, ActivePhysics *apOther); void playerCollision(ActivePhysics *apThis, ActivePhysics *apOther); void yoshiCollision(ActivePhysics *apThis, ActivePhysics *apOther); @@ -259,7 +258,7 @@ bool daTopman::calculateTileCollisions() { // u8 one = (blah & 0xFF); // static const float incs[5] = {0.00390625f, 0.0078125f, 0.015625f, 0.0234375f, 0.03125f}; // x_speed_inc = incs[one]; - max_speed.x = (direction == 1) ? -1.0f : 1.0f; + max_speed.x = (direction == 1) ? -0.8f : 0.8f; } else { x_speed_inc = 0.0f; } |