aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/Ad/AdSentence.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/Ad/AdSentence.cpp')
-rw-r--r--engines/wintermute/Ad/AdSentence.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wintermute/Ad/AdSentence.cpp b/engines/wintermute/Ad/AdSentence.cpp
index 7548655ee6..88b0f26d92 100644
--- a/engines/wintermute/Ad/AdSentence.cpp
+++ b/engines/wintermute/Ad/AdSentence.cpp
@@ -288,7 +288,7 @@ HRESULT CAdSentence::update(TDirection dir) {
talkNodeFound = true;
CBSprite *newSprite = _talkDef->_nodes[i]->getSprite(dir);
- if (newSprite != _currentSprite) newSprite->Reset();
+ if (newSprite != _currentSprite) newSprite->reset();
_currentSprite = newSprite;
if (!_talkDef->_nodes[i]->_playToEnd) break;
@@ -300,7 +300,7 @@ HRESULT CAdSentence::update(TDirection dir) {
if (!talkNodeFound) {
CBSprite *newSprite = _talkDef->getDefaultSprite(dir);
if (newSprite) {
- if (newSprite != _currentSprite) newSprite->Reset();
+ if (newSprite != _currentSprite) newSprite->reset();
_currentSprite = newSprite;
} else _currentSprite = NULL;
}