From d3a5dc12e3b3d8295d8389e4ab5ff7888f492378 Mon Sep 17 00:00:00 2001 From: Colin Noga Date: Sun, 11 Mar 2012 22:13:32 -0500 Subject: pushing in case my HD dies. --- src/bossBalboaWrench.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/bossBalboaWrench.cpp') 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); -- cgit v1.2.3