From 29faa282640a558efe22f2b0d1da444e19d604fe Mon Sep 17 00:00:00 2001 From: Dmitry Iskrich Date: Sat, 6 Aug 2016 19:15:26 +0300 Subject: DIRECTOR: Change sprite type --- engines/director/lingo/lingo-the.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/director/lingo') 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(d.u.i); break; case kTheMovieRate: sprite->_movieRate = d.u.i; -- cgit v1.2.3