Skip to content

Commit

Permalink
DIRECTOR: Lingo: Fix toInt()
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Aug 3, 2016
1 parent 196044a commit e08f8bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/director/lingo/lingo.cpp
Expand Up @@ -181,7 +181,7 @@ int Datum::toInt() {
break;
case FLOAT:
u.i = (int)u.f;
type = FLOAT;
type = INT;
break;
default:
warning("Incorrect operation toInt() for type: %d", type);
Expand Down

0 comments on commit e08f8bb

Please sign in to comment.