summaryrefslogtreecommitdiff
path: root/src/shyguy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/shyguy.cpp')
-rw-r--r--src/shyguy.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/shyguy.cpp b/src/shyguy.cpp
index c2193c7..bbae18b 100644
--- a/src/shyguy.cpp
+++ b/src/shyguy.cpp
@@ -308,8 +308,7 @@ daShyGuy *daShyGuy::build() {
if (this->type < 6) { // Regular Shy Guys Except Jumper
- if (this->pos.x < apOther->owner->pos.x) { this->backFire = 0; OSReport("Fire is to the right"); } // Fire is to the right
- else { this->backFire = 1; OSReport("Fire is to the left"); } // Fire is to the left
+ backFire = apOther->owner->direction;
if (this->isDown == 0) {
stateVar = &StateID_FireKnockBack;