diff options
author | Eugene Sandulenko | 2010-08-16 20:23:53 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2010-10-12 22:50:28 +0000 |
commit | a1d22a063b2a9de47cf3f23cac1cd73777eea321 (patch) | |
tree | 4a4c3c12e76a91deb15d475cddd3e1a8ce5c919e /engines/sword25/gfx/animation.cpp | |
parent | b65284078aaa3c1fc3dcc7bebf804d2dc43a8e41 (diff) | |
download | scummvm-rg350-a1d22a063b2a9de47cf3f23cac1cd73777eea321.tar.gz scummvm-rg350-a1d22a063b2a9de47cf3f23cac1cd73777eea321.tar.bz2 scummvm-rg350-a1d22a063b2a9de47cf3f23cac1cd73777eea321.zip |
SWORD25: Fix warnings
svn-id: r53254
Diffstat (limited to 'engines/sword25/gfx/animation.cpp')
-rw-r--r-- | engines/sword25/gfx/animation.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/sword25/gfx/animation.cpp b/engines/sword25/gfx/animation.cpp index 333bc986d6..1790e24c03 100644 --- a/engines/sword25/gfx/animation.cpp +++ b/engines/sword25/gfx/animation.cpp @@ -247,8 +247,6 @@ void BS_Animation::FrameNotification(int TimeElapsed) { // Nur wenn die Animation läuft wird sie auch weiterbewegt if (m_Running) { - int OldFrame = m_CurrentFrame; - // Gesamte vergangene Zeit bestimmen (inkl. Restzeit des aktuellen Frames) m_CurrentFrameTime += TimeElapsed; @@ -317,7 +315,7 @@ void BS_Animation::FrameNotification(int TimeElapsed) { } } - if (m_CurrentFrame != TmpCurFrame) { + if ((int)m_CurrentFrame != TmpCurFrame) { ForceRefresh(); if (animationDescriptionPtr->GetFrame(m_CurrentFrame).Action != "") { |