aboutsummaryrefslogtreecommitdiff
path: root/src/game/Creature.cpp
diff options
context:
space:
mode:
author_manuel_ <manue.l@live.com.ar>2010-03-21 15:22:40 -0300
committer_manuel_ <manue.l@live.com.ar>2010-03-21 15:22:40 -0300
commite34a7d31347358b298a1d7a36a429eb490c4498b (patch)
tree9431f7827117d8e8cd0ea2f745764b94b3588b49 /src/game/Creature.cpp
parenta4e98f50d0f18e6ae59145aca31a719ff754c703 (diff)
parent2318d74dde1a8ec939a782cf66b31f91a7f83b79 (diff)
Merge
--HG-- branch : trunk
Diffstat (limited to 'src/game/Creature.cpp')
-rw-r--r--src/game/Creature.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/game/Creature.cpp b/src/game/Creature.cpp
index 8404702f748..e4f3e2e7b89 100644
--- a/src/game/Creature.cpp
+++ b/src/game/Creature.cpp
@@ -341,9 +341,10 @@ bool Creature::InitEntry(uint32 Entry, uint32 team, const CreatureData *data )
SetFloatValue(UNIT_MOD_CAST_SPEED, 1.0f);
- SetSpeed(MOVE_WALK, cinfo->speed );
- SetSpeed(MOVE_RUN, cinfo->speed );
- SetSpeed(MOVE_SWIM, cinfo->speed );
+ SetSpeed(MOVE_WALK, cinfo->speed_walk );
+ SetSpeed(MOVE_RUN, cinfo->speed_run );
+ SetSpeed(MOVE_SWIM, 1.0f); // using 1.0 rate
+ SetSpeed(MOVE_FLIGHT, 1.0f); // using 1.0 rate
SetFloatValue(OBJECT_FIELD_SCALE_X, cinfo->scale);