[planetblupi] 32/61: Show enemies in the stats when using cheat code
Didier Raboud
odyx at moszumanska.debian.org
Thu Nov 2 19:24:55 UTC 2017
This is an automated email from the git hooks/post-receive script.
odyx pushed a commit to branch debian/master
in repository planetblupi.
commit a26b71a2d899df4078a880b6cb31bb85e7821069
Author: Mathieu Schroeter <mathieu at schroetersa.ch>
Date: Wed Oct 25 06:46:09 2017 +0200
Show enemies in the stats when using cheat code
It concerns the difficult skill level.
---
src/decstat.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/decstat.cxx b/src/decstat.cxx
index 057d916..86298bf 100644
--- a/src/decstat.cxx
+++ b/src/decstat.cxx
@@ -475,7 +475,7 @@ CDecor::StatisticUpdate ()
// Hide enemies from the stat when hidden by the fog
bool hide = false;
- if (this->GetSkill () >= 1)
+ if (this->GetSkill () >= 1 && this->m_bFog)
{
auto fogCel = m_blupi[rank].cel;
fogCel.x = (fogCel.x / 4) * 4;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/planetblupi.git
More information about the Pkg-games-commits
mailing list