diff options
author | Paul Gilbert | 2011-04-13 22:02:40 +1000 |
---|---|---|
committer | Paul Gilbert | 2011-04-13 22:02:40 +1000 |
commit | 48dbcbe8a1c469e98b60221350b4caec623c4131 (patch) | |
tree | 48e1e96b120cf7a056f452d294dd6ce14f802a08 | |
parent | 4852a38f3648d7778da29402addb87590662a1ce (diff) | |
download | scummvm-rg350-48dbcbe8a1c469e98b60221350b4caec623c4131.tar.gz scummvm-rg350-48dbcbe8a1c469e98b60221350b4caec623c4131.tar.bz2 scummvm-rg350-48dbcbe8a1c469e98b60221350b4caec623c4131.zip |
TSAGE: Fixed warnings identified by Buildbot
-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)); |