diff options
author | Martin Kiewitz | 2016-02-21 20:56:00 +0100 |
---|---|---|
committer | Martin Kiewitz | 2016-02-21 20:56:26 +0100 |
commit | 86a88864095fb77af7572973016a2ef0b715d25e (patch) | |
tree | b82a4ed6de9811806d8a45a452fb0d2601a21d2e /engines/sci | |
parent | ddcf204bd0b36f818ef423d9d1ac00511367ad8c (diff) | |
download | scummvm-rg350-86a88864095fb77af7572973016a2ef0b715d25e.tar.gz scummvm-rg350-86a88864095fb77af7572973016a2ef0b715d25e.tar.bz2 scummvm-rg350-86a88864095fb77af7572973016a2ef0b715d25e.zip |
SCI32: Clean up Gfx::FrameoutsyncWithScripts()
Diffstat (limited to 'engines/sci')
-rw-r--r-- | engines/sci/graphics/frameout.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/sci/graphics/frameout.cpp b/engines/sci/graphics/frameout.cpp index 260bd27684..7893fc4031 100644 --- a/engines/sci/graphics/frameout.cpp +++ b/engines/sci/graphics/frameout.cpp @@ -197,12 +197,12 @@ void GfxFrameout::syncWithScripts(bool addElements) { while (!planeCastsNodeObject.isNull()) { Node *castsNode = segMan->lookupNode(planeCastsNodeObject); - reg_t castObject = castsNode->value; + reg_t castsObject = castsNode->value; - reg_t castListElements = readSelector(segMan, castObject, SELECTOR(elements)); + reg_t castsListElements = readSelector(segMan, castsObject, SELECTOR(elements)); - List *castList = segMan->lookupList(castListElements); - reg_t castNodeObject = castList->first; + List *castsList = segMan->lookupList(castsListElements); + reg_t castNodeObject = castsList->first; while (!castNodeObject.isNull()) { Node *castNode = segMan->lookupNode(castNodeObject); |