diff options
author | Eugene Sandulenko | 2016-07-02 22:01:12 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-08-03 23:40:36 +0200 |
commit | e08f8bbe43079fef358985d1e6be637844e36e86 (patch) | |
tree | d6eaa3e10647027a25a99fb0a5013bc6853df7ad /engines/director/lingo/lingo.cpp | |
parent | 196044aeae5c93e34e141c9758e5477e545a5f89 (diff) | |
download | scummvm-rg350-e08f8bbe43079fef358985d1e6be637844e36e86.tar.gz scummvm-rg350-e08f8bbe43079fef358985d1e6be637844e36e86.tar.bz2 scummvm-rg350-e08f8bbe43079fef358985d1e6be637844e36e86.zip |
DIRECTOR: Lingo: Fix toInt()
Diffstat (limited to 'engines/director/lingo/lingo.cpp')
-rw-r--r-- | engines/director/lingo/lingo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/director/lingo/lingo.cpp b/engines/director/lingo/lingo.cpp index 9d23b62cf9..b1befd9f02 100644 --- a/engines/director/lingo/lingo.cpp +++ b/engines/director/lingo/lingo.cpp @@ -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); |