Jump to content

[11622][Fix patch] creature walking


Guest mns

Recommended Posts

mangos : [11618]

Bug : Creature walking speed not related to DB !

How can retry bug ? change [creature_template.speed_walk] for walking creature in DB and see creature in server .

Fix :

diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 339ad4c..cf715ff 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -8232,7 +8232,7 @@ void Unit::UpdateSpeed(UnitMoveType mtype, bool forced, float ratio)
    switch(mtype)
    {
        case MOVE_WALK:
-            return;
+            break;
        case MOVE_RUN:
        {
            if (IsMounted()) // Use on mount auras

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use