aboutsummaryrefslogtreecommitdiff
path: root/engines/director/lingo
diff options
context:
space:
mode:
Diffstat (limited to 'engines/director/lingo')
-rw-r--r--engines/director/lingo/lingo-the.cpp2
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;