From 0c126d0687ccf89bf2e30c272bd054f0a0edfa0f Mon Sep 17 00:00:00 2001 From: Treeki Date: Sun, 10 Feb 2013 01:05:33 +0100 Subject: topman only walks when he has no damage, instead of damage levels 0 and 1 --- src/bossTopman.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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); } } -- cgit v1.2.3