summaryrefslogtreecommitdiff
path: root/src/bossBalboaWrench.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/bossBalboaWrench.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bossBalboaWrench.cpp b/src/bossBalboaWrench.cpp
index ccff19b..b28c99e 100644
--- a/src/bossBalboaWrench.cpp
+++ b/src/bossBalboaWrench.cpp
@@ -351,12 +351,12 @@ void daBalboa_c::updateModelMatrices() {
else if (randChoice == 2) { // In the Center!
char Pdir = dSprite_c__getXDirectionOfFurthestPlayerRelativeToVEC3(this, this->pos);
- if (Pdir) {
- this->rot.y = 0x2000;
- this->direction = 1; }
- else {
+ if (Pdir == 1) {
this->rot.y = 0xE000;
this->direction = 0; }
+ else {
+ this->rot.y = 0x2000;
+ this->direction = 1; }
}
PlaySound(this, 0x21F);