summaryrefslogtreecommitdiff
path: root/src/shyguy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/shyguy.cpp')
-rw-r--r--src/shyguy.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shyguy.cpp b/src/shyguy.cpp
index 354f2f6..2ebb3bb 100644
--- a/src/shyguy.cpp
+++ b/src/shyguy.cpp
@@ -784,6 +784,7 @@ void daShyGuy::updateModelMatrices() {
this->x_speed_inc = 0.0;
}
void daShyGuy::executeState_Walk() {
+ chrAnimation.setUpdateRate(1.5f);
this->pos.x += (direction) ? -0.4 : 0.4;
@@ -1232,6 +1233,7 @@ bool daShyGuy::willWalkOntoSuitableGround() {
this->y_speed_inc = -0.1875;
}
void daShyGuy::executeState_RealWalk() {
+ chrAnimation.setUpdateRate(1.5f);
bool turne = this->willWalkOntoSuitableGround();
// bool turne = collMgr.isOnTopOfTile();