diff options
author | Colin Noga <Tempus@chronometry.ca> | 2012-03-11 22:13:32 -0500 |
---|---|---|
committer | Colin Noga <Tempus@chronometry.ca> | 2012-03-11 22:13:32 -0500 |
commit | d3a5dc12e3b3d8295d8389e4ab5ff7888f492378 (patch) | |
tree | a9fd6c5c1376a210c189feab1c0a85f37962bf4a /src/bossBalboaWrench.cpp | |
parent | 6ddd772d6546758a2602a934a6b385757b77b48e (diff) | |
download | kamek-d3a5dc12e3b3d8295d8389e4ab5ff7888f492378.tar.gz kamek-d3a5dc12e3b3d8295d8389e4ab5ff7888f492378.zip |
pushing in case my HD dies.
Diffstat (limited to 'src/bossBalboaWrench.cpp')
-rw-r--r-- | src/bossBalboaWrench.cpp | 8 |
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); |