[colobot] 248/377: Another fix for visibility distance
Didier Raboud
odyx at moszumanska.debian.org
Wed Mar 30 13:34:22 UTC 2016
This is an automated email from the git hooks/post-receive script.
odyx pushed a commit to branch debian/master
in repository colobot.
commit 91f897057e107f9af93ea9a65f6cdd2b2615647c
Author: Tomasz Kapuściński <tomaszkax86 at gmail.com>
Date: Sun Jan 31 01:07:34 2016 +0100
Another fix for visibility distance
---
src/level/robotmain.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/level/robotmain.cpp b/src/level/robotmain.cpp
index 5dabcf1..deb61c9 100644
--- a/src/level/robotmain.cpp
+++ b/src/level/robotmain.cpp
@@ -3068,8 +3068,8 @@ void CRobotMain::CreateScene(bool soluce, bool fixScene, bool resetObject)
if (line->GetCommand() == "DeepView" && !resetObject)
{
- m_engine->SetDeepView(line->GetParam("air")->AsFloat(500.0f)*g_unit, 0, true);
- m_engine->SetDeepView(line->GetParam("water")->AsFloat(100.0f)*g_unit, 1, true);
+ m_engine->SetDeepView(line->GetParam("air")->AsFloat(500.0f)*g_unit, 0, false);
+ m_engine->SetDeepView(line->GetParam("water")->AsFloat(100.0f)*g_unit, 1, false);
continue;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/colobot.git
More information about the Pkg-games-commits
mailing list