aboutsummaryrefslogtreecommitdiff
path: root/src/game/GameObject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/GameObject.cpp')
-rw-r--r--src/game/GameObject.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/game/GameObject.cpp b/src/game/GameObject.cpp
index a4d31a19c67..5a5b28d85b9 100644
--- a/src/game/GameObject.cpp
+++ b/src/game/GameObject.cpp
@@ -192,8 +192,6 @@ bool GameObject::Create(uint32 guidlow, uint32 name_id, Map *map, uint32 phaseMa
SetGoType(GameobjectTypes(goinfo->type));
SetGoArtKit(0); // unknown what this is
- SetGoAnimProgress(animprogress);
-
SetByteValue(GAMEOBJECT_BYTES_1, 2, artKit);
switch(goinfo->type)
@@ -206,6 +204,13 @@ bool GameObject::Create(uint32 guidlow, uint32 name_id, Map *map, uint32 phaseMa
SetUInt32Value(GAMEOBJECT_LEVEL, goinfo->transport.pause);
if (goinfo->transport.startOpen)
SetGoState(GO_STATE_ACTIVE);
+ SetGoAnimProgress(animprogress);
+ break;
+ case GAMEOBJECT_TYPE_FISHINGNODE:
+ SetGoAnimProgress(0);
+ break;
+ default:
+ SetGoAnimProgress(animprogress);
break;
}