summaryrefslogtreecommitdiff
path: root/src/bossTopman.cpp
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2013-02-10 01:05:33 +0100
committerTreeki <treeki@gmail.com>2013-02-10 01:05:33 +0100
commit0c126d0687ccf89bf2e30c272bd054f0a0edfa0f (patch)
treeba77859933492f179e1b933c12e158e5826b7601 /src/bossTopman.cpp
parent8f4edaa7abf19844bf93a369750486428c370384 (diff)
downloadkamek-0c126d0687ccf89bf2e30c272bd054f0a0edfa0f.tar.gz
kamek-0c126d0687ccf89bf2e30c272bd054f0a0edfa0f.zip
topman only walks when he has no damage, instead of damage levels 0 and 1
Diffstat (limited to 'src/bossTopman.cpp')
-rw-r--r--src/bossTopman.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bossTopman.cpp b/src/bossTopman.cpp
index 77593a3..424f1a3 100644
--- a/src/bossTopman.cpp
+++ b/src/bossTopman.cpp
@@ -538,7 +538,7 @@ void daDreidel::updateModelMatrices() {
int done = SmoothRotation(&this->rot.y, amt, 0x800);
if(done) {
- if (this->damage > 1) { doStateChange(&StateID_ChargePrep); }
+ if (this->damage > 0) { doStateChange(&StateID_ChargePrep); }
else { doStateChange(&StateID_Walk); }
}
}
@@ -565,7 +565,7 @@ void daDreidel::updateModelMatrices() {
bodyModel._vf1C();
if(this->chrAnimation.isAnimationDone()) {
- if (this->damage > 1) { doStateChange(&StateID_ChargePrep); }
+ if (this->damage > 0) { doStateChange(&StateID_ChargePrep); }
else { doStateChange(&StateID_Walk); }
}