diff options
author | Eugene Sandulenko | 2019-11-24 18:17:02 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2019-11-24 18:17:02 +0000 |
commit | 991e7d447bd919934002858dad8e8cb4f9dd1eed (patch) | |
tree | dba26f312c2fea61a18928bd59cfe9e61c79c061 /engines/director/lingo/lingo-the.cpp | |
parent | 6a650e10b1fed68e52134f6959bda5f560eebe06 (diff) | |
download | scummvm-rg350-991e7d447bd919934002858dad8e8cb4f9dd1eed.tar.gz scummvm-rg350-991e7d447bd919934002858dad8e8cb4f9dd1eed.tar.bz2 scummvm-rg350-991e7d447bd919934002858dad8e8cb4f9dd1eed.zip |
DIRECTOR: Rename Cast class variables to follow our naming conventions
Diffstat (limited to 'engines/director/lingo/lingo-the.cpp')
-rw-r--r-- | engines/director/lingo/lingo-the.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/director/lingo/lingo-the.cpp b/engines/director/lingo/lingo-the.cpp index 68999f66ef..4ba8eec34e 100644 --- a/engines/director/lingo/lingo-the.cpp +++ b/engines/director/lingo/lingo-the.cpp @@ -687,7 +687,7 @@ Datum Lingo::getTheCast(Datum &id1, int field) { } ShapeCast *shape = _vm->getCurrentScore()->_loadedShapes->getVal(id); - d.u.i = shape->bgCol; + d.u.i = shape->_bgCol; } break; case kTheForeColor: @@ -699,7 +699,7 @@ Datum Lingo::getTheCast(Datum &id1, int field) { } ShapeCast *shape = _vm->getCurrentScore()->_loadedShapes->getVal(id); - d.u.i = shape->fgCol; + d.u.i = shape->_fgCol; } break; case kTheLoaded: @@ -767,8 +767,8 @@ void Lingo::setTheCast(Datum &id1, int field, Datum &d) { warning("Field %d of cast %d not found", field, id); } ShapeCast *shape = _vm->getCurrentScore()->_loadedShapes->getVal(id); - shape->bgCol = d.u.i; - shape->modified = 1; + shape->_bgCol = d.u.i; + shape->_modified = 1; } break; case kTheForeColor: @@ -778,8 +778,8 @@ void Lingo::setTheCast(Datum &id1, int field, Datum &d) { return; } ShapeCast *shape = _vm->getCurrentScore()->_loadedShapes->getVal(id); - shape->fgCol = d.u.i; - shape->modified = 1; + shape->_fgCol = d.u.i; + shape->_modified = 1; } break; default: |