diff options
Diffstat (limited to 'engines/titanic/core')
-rw-r--r-- | engines/titanic/core/room_item.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/core/room_item.cpp b/engines/titanic/core/room_item.cpp index 541a8e1a9e..49b3232ba1 100644 --- a/engines/titanic/core/room_item.cpp +++ b/engines/titanic/core/room_item.cpp @@ -36,8 +36,8 @@ void CRoomItem::save(SimpleFile *file, int indent) { _exitMovieKey.save(file, indent); file->writeQuotedLine("Room dimensions x 1000", indent); - file->writeNumberLine(_roomDimensionX * 1000.0, indent + 1); - file->writeNumberLine(_roomDimensionY * 1000.0, indent + 1); + file->writeNumberLine((int)(_roomDimensionX * 1000.0), indent + 1); + file->writeNumberLine((int)(_roomDimensionY * 1000.0), indent + 1); file->writeQuotedLine("Transition Movie", indent); _transitionMovieKey.save(file, indent); |