summaryrefslogtreecommitdiff
path: root/src/shyguyGiants.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/shyguyGiants.cpp')
-rw-r--r--src/shyguyGiants.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/shyguyGiants.cpp b/src/shyguyGiants.cpp
index aefcb3c..a2c4008 100644
--- a/src/shyguyGiants.cpp
+++ b/src/shyguyGiants.cpp
@@ -161,8 +161,8 @@ daShyGuyGiant *daShyGuyGiant::build() {
}
}
}
-void daShyGuyGiant::_vf278(void *other) {
- PlaySound(this, SE_EMY_HANACHAN_STOMP);
+ void daShyGuyGiant::_vf278(void *other) {
+ PlaySound(this, SE_EMY_HANACHAN_STOMP);
}
void daShyGuyGiant::bouncePlayerWhenJumpedOn(void *player) {
@@ -300,7 +300,7 @@ bool daShyGuyGiant::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) ? -this->XSpeed : this->XSpeed;
} else {
x_speed_inc = 0.0f;
}