From 77769c3df06f2dec746c6d163d18986fa9a15e3b Mon Sep 17 00:00:00 2001 From: Colin Noga Date: Sat, 11 May 2013 12:48:47 -0500 Subject: Minor fixes --- src/shyguy.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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; -- cgit v1.2.3