diff options
author | Dmitry Iskrich | 2016-08-06 19:15:26 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2016-08-06 21:36:07 +0200 |
commit | 29faa282640a558efe22f2b0d1da444e19d604fe (patch) | |
tree | 5387726ce9f57503ea7dd6ef817b03451cce493f /engines/director/lingo | |
parent | 0204628f2692b79572ba477777605bbe8328fed8 (diff) | |
download | scummvm-rg350-29faa282640a558efe22f2b0d1da444e19d604fe.tar.gz scummvm-rg350-29faa282640a558efe22f2b0d1da444e19d604fe.tar.bz2 scummvm-rg350-29faa282640a558efe22f2b0d1da444e19d604fe.zip |
DIRECTOR: Change sprite type
Diffstat (limited to 'engines/director/lingo')
-rw-r--r-- | engines/director/lingo/lingo-the.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/director/lingo/lingo-the.cpp b/engines/director/lingo/lingo-the.cpp index 2aedf32a54..3f4f9cc432 100644 --- a/engines/director/lingo/lingo-the.cpp +++ b/engines/director/lingo/lingo-the.cpp @@ -271,7 +271,7 @@ void Lingo::setTheSprite(Datum &id1, int field, Datum &d) { sprite->_visible = (d.u.i == 0 ? false : true); break; case kTheType: - sprite->_type = d.u.i; + sprite->_type = static_cast<SpriteType>(d.u.i); break; case kTheMovieRate: sprite->_movieRate = d.u.i; |