summaryrefslogtreecommitdiff
path: root/src/bossMegaGoomba.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bossMegaGoomba.cpp')
-rw-r--r--src/bossMegaGoomba.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/bossMegaGoomba.cpp b/src/bossMegaGoomba.cpp
index da66d16..032cfa8 100644
--- a/src/bossMegaGoomba.cpp
+++ b/src/bossMegaGoomba.cpp
@@ -178,8 +178,8 @@ void daMegaGoomba_c::bindAnimChr_and_setUpdateRate(const char* name, int unk, fl
}
void daMegaGoomba_c::dieFall_Begin() {
- this->bindAnimChr_and_setUpdateRate("split", 0, 0.0);
- dSprite_c::dieFall_Begin();
+ //this->bindAnimChr_and_setUpdateRate("split", 0, 0.0);
+ //dSprite_c::dieFall_Begin();
}
//TODO make this real perty like
void daMegaGoomba_c::dieFall_Execute() {
@@ -322,7 +322,8 @@ int daMegaGoomba_c::onExecute() {
int daMegaGoomba_c::onDraw() {
bodyModel.scheduleForDrawing();
- animationChr.process();
+ bodyModel._vf1C();
+ //animationChr.process();
animationPat.process();
return true;
}
@@ -542,9 +543,8 @@ void daMegaGoomba_c::executeState_Walk() {
Vec vctr;
ConvertMatrixToTranslationVector(&mtx, &vctr);
*/
- this->animationChr.setCurrentFrame( this->animationChr.getCurrentFrame() + 1.0 );
- if(this->animationChr.getCurrentFrame() > 400.0)
- this->animationChr.setCurrentFrame(1.0);
+ if(this->animationChr.isAnimationDone())
+ this->animationChr.setCurrentFrame(0.0);
//HandleAcceleration(this);
//HandleXSpeed(this);