summaryrefslogtreecommitdiff
path: root/src/bossFuzzyBear.cpp
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-10-22 05:02:49 +0200
committerTreeki <treeki@gmail.com>2012-10-22 05:02:49 +0200
commit9fa22baae0d44278cd73a54c1c4a11eac9255bff (patch)
tree124897f7b1b7d6384383aa18f98f53e93767c48a /src/bossFuzzyBear.cpp
parent96911438b1f4bf525c38bb548349d75f82e5fd3f (diff)
downloadkamek-9fa22baae0d44278cd73a54c1c4a11eac9255bff.tar.gz
kamek-9fa22baae0d44278cd73a54c1c4a11eac9255bff.zip
fixes to make Newer compile with Clang... kinda
Diffstat (limited to '')
-rw-r--r--src/bossFuzzyBear.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bossFuzzyBear.cpp b/src/bossFuzzyBear.cpp
index b9312a8..1f4fab4 100644
--- a/src/bossFuzzyBear.cpp
+++ b/src/bossFuzzyBear.cpp
@@ -328,7 +328,7 @@ void daFuzzyBear_c::endState_Grow() {
void daFuzzyBear_c::beginState_Bounce() {
- if (this->direction = 0) { this->speed.x = 1.0; }
+ if (this->direction == 0) { this->speed.x = 1.0; }
else { this->speed.x = -1.0; }
if (this->storeSpeed != 0) { this->speed.x = this->storeSpeed; }