summaryrefslogtreecommitdiff
path: root/src/shyguy.cpp
diff options
context:
space:
mode:
authorColin Noga <Tempus@chronometry.ca>2013-05-11 12:48:47 -0500
committerColin Noga <Tempus@chronometry.ca>2013-05-11 12:48:47 -0500
commit77769c3df06f2dec746c6d163d18986fa9a15e3b (patch)
treeddcebb06aa630fafe78c20abfb9ef4a417c55b00 /src/shyguy.cpp
parentb223c0f472becf62c1c31e19af7561059b03e867 (diff)
downloadkamek-77769c3df06f2dec746c6d163d18986fa9a15e3b.tar.gz
kamek-77769c3df06f2dec746c6d163d18986fa9a15e3b.zip
Minor fixes
Diffstat (limited to 'src/shyguy.cpp')
-rw-r--r--src/shyguy.cpp4
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;