diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/tsage/core.cpp | 2 | ||||
-rw-r--r-- | engines/tsage/ringworld_scenes1.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/tsage/core.cpp b/engines/tsage/core.cpp index 2f6ba42b37..8d332c46af 100644 --- a/engines/tsage/core.cpp +++ b/engines/tsage/core.cpp @@ -1734,7 +1734,7 @@ SceneObject::SceneObject(): SceneHotspot() { _frameChange = 0; } -SceneObject::SceneObject(const SceneObject &so) { +SceneObject::SceneObject(const SceneObject &so): SceneHotspot() { *this = so; if (_objectWrapper) // Create a fresh object wrapper for this object diff --git a/engines/tsage/ringworld_scenes1.cpp b/engines/tsage/ringworld_scenes1.cpp index f847943bc5..46fbe7736b 100644 --- a/engines/tsage/ringworld_scenes1.cpp +++ b/engines/tsage/ringworld_scenes1.cpp @@ -3226,7 +3226,7 @@ void Scene6100::dispatch() { if (_action != &_action3) { // Display the distance remaining to the target - int distance = _probe._floats.sqrt(_rocks._floats); + int distance = (int)_probe._floats.sqrt(_rocks._floats); Common::String s = Common::String::format("%06d", distance); _sceneText.setPosition(Common::Point(24, 160)); |