diff options
author | joschiwald <joschiwald.trinity@gmail.com> | 2015-05-21 14:02:50 +0200 |
---|---|---|
committer | joschiwald <joschiwald.trinity@gmail.com> | 2015-05-21 14:02:50 +0200 |
commit | 266c09f8a95c06b758f1c9b0e2e52cafd451f757 (patch) | |
tree | c1e7a02c3c41fa0194481bd880f6f4c699a8ae20 /src | |
parent | 280f0016ec036e53b71bc660260b075bb679a00a (diff) |
Core/GameObject: fixed typo in 46acf64d0f44956b0ceee8ff00721ae05f363dcc
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/Entities/GameObject/GameObject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Entities/GameObject/GameObject.cpp b/src/server/game/Entities/GameObject/GameObject.cpp index 852269855df..e35f4fb889b 100644 --- a/src/server/game/Entities/GameObject/GameObject.cpp +++ b/src/server/game/Entities/GameObject/GameObject.cpp @@ -2163,7 +2163,7 @@ void GameObject::SetTransportState(GOState state, uint32 stopFrame /*= 0*/) m_goValue.Transport.StateUpdateTimer = 0; m_goValue.Transport.PathProgress = getMSTime(); if (GetGoState() >= GO_STATE_TRANSPORT_STOPPED) - m_goValue.Transport.StopFrames->at(GetGoState() - GO_STATE_TRANSPORT_STOPPED); + m_goValue.Transport.PathProgress += m_goValue.Transport.StopFrames->at(GetGoState() - GO_STATE_TRANSPORT_STOPPED); SetGoState(GO_STATE_TRANSPORT_ACTIVE); } else |