summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2013-05-09 10:13:37 +0200
committerTreeki <treeki@gmail.com>2013-05-09 10:13:37 +0200
commit7a49a1db8cce520e2c10bb013a10d338264a580a (patch)
tree3c88702e4b71e256efb222d142b22f1e1dc8f3b9 /src
parentfdf2ccd77bbb6e5e035f8b5e6fd041af9d28c95d (diff)
downloadkamek-7a49a1db8cce520e2c10bb013a10d338264a580a.tar.gz
kamek-7a49a1db8cce520e2c10bb013a10d338264a580a.zip
shyguy anim fixes
Diffstat (limited to 'src')
-rw-r--r--src/shyguy.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shyguy.cpp b/src/shyguy.cpp
index 192ac7d..ae1bc03 100644
--- a/src/shyguy.cpp
+++ b/src/shyguy.cpp
@@ -780,6 +780,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;
@@ -1205,6 +1206,7 @@ void daShyGuy::updateModelMatrices() {
this->y_speed_inc = -0.1875;
}
void daShyGuy::executeState_RealWalk() {
+ chrAnimation.setUpdateRate(1.5f);
bool ret = calculateTileCollisions();
if (ret) {