diff options
Diffstat (limited to 'engines/titanic/pet_control/pet_inventory_glyphs.cpp')
-rw-r--r-- | engines/titanic/pet_control/pet_inventory_glyphs.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/titanic/pet_control/pet_inventory_glyphs.cpp b/engines/titanic/pet_control/pet_inventory_glyphs.cpp index d19ea60408..a994df035f 100644 --- a/engines/titanic/pet_control/pet_inventory_glyphs.cpp +++ b/engines/titanic/pet_control/pet_inventory_glyphs.cpp @@ -294,8 +294,10 @@ int CPetInventoryGlyph::getItemIndex(CGameObject *item, bool isLoading) { int frameNum = item->getFrameNumber(); int movieFrame = item->getMovieFrame(); - if (isLoading && frameNum != -1 && frameNum != movieFrame) + if (isLoading && frameNum != -1 && frameNum != movieFrame) { item->loadFrame(frameNum); + movieFrame = frameNum; + } return movieFrame; } |