[colobot] 347/390: Fixes recent mistake (- instead of +)

Didier Raboud odyx at moszumanska.debian.org
Fri Jun 12 14:22:03 UTC 2015


This is an automated email from the git hooks/post-receive script.

odyx pushed a commit to branch upstream/latest
in repository colobot.

commit 619b3f2e45c971183b1a3e1388510846d174d887
Author: Tomasz Kapuściński <tomaszkax86 at gmail.com>
Date:   Thu May 7 13:05:20 2015 +0200

    Fixes recent mistake (- instead of +)
---
 src/graphics/engine/terrain.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/graphics/engine/terrain.cpp b/src/graphics/engine/terrain.cpp
index a97b840..58c2a60 100644
--- a/src/graphics/engine/terrain.cpp
+++ b/src/graphics/engine/terrain.cpp
@@ -655,7 +655,7 @@ bool CTerrain::CreateMosaic(int ox, int oy, int step, int objRank,
                         p1.texCoord.y = 1.0f - offset;
 
                     if (y == brick - step)
-                        p2.texCoord.y = 0.0f - offset;
+                        p2.texCoord.y = 0.0f + offset;
 
                     if (m_useMaterials)
                     {

-- 
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