aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2016-10-04 20:58:59 -0400
committerPaul Gilbert2016-10-04 20:58:59 -0400
commitf14146e3df2c1a926311bcc38e917b79878cb3a8 (patch)
tree9fe62ef94da33f1b1e630b7b13c9861d865711bb
parent0a8f47a3ae5d7b69a189a448714620e4cdc9fa4e (diff)
downloadscummvm-rg350-f14146e3df2c1a926311bcc38e917b79878cb3a8.tar.gz
scummvm-rg350-f14146e3df2c1a926311bcc38e917b79878cb3a8.tar.bz2
scummvm-rg350-f14146e3df2c1a926311bcc38e917b79878cb3a8.zip
TITANIC: Fix initial display of computer screen
-rw-r--r--engines/titanic/core/game_object.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/titanic/core/game_object.cpp b/engines/titanic/core/game_object.cpp
index 302696a35a..2e3132c2f4 100644
--- a/engines/titanic/core/game_object.cpp
+++ b/engines/titanic/core/game_object.cpp
@@ -402,7 +402,8 @@ void CGameObject::loadImage(const CString &name, bool pendingFlag) {
}
void CGameObject::loadFrame(int frameNumber) {
- if (frameNumber != -1 && !_resource.empty())
+ _frameNumber = -1;
+ if (!_resource.empty())
loadResource(_resource);
if (_surface)