diff options
Diffstat (limited to 'src/shyguy.cpp')
-rw-r--r-- | src/shyguy.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shyguy.cpp b/src/shyguy.cpp index c13b13e..23a81f3 100644 --- a/src/shyguy.cpp +++ b/src/shyguy.cpp @@ -435,7 +435,7 @@ bool daShyGuy::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) ? -XSpeed : XSpeed; } else { x_speed_inc = 0.0f; } @@ -605,7 +605,7 @@ int daShyGuy::onCreate() { this->speed.x = 0.0; this->speed.y = 0.0; this->max_speed.x = 0.6; - this->x_speed_inc = 0.2; + this->x_speed_inc = 0.15; this->Baseline = this->pos.y; this->XSpeed = 0.6; this->balloonSize = 1.5; |