[gnome-games] chess: Fix incorrect human move strings



commit 5b38c19b5dbb7ae8c1e2e8c1052a29e7a5ab9cc6
Author: Robert Ancell <robert ancell canonical com>
Date:   Wed Mar 9 11:16:44 2011 +1100

    chess: Fix incorrect human move strings

 glchess/src/glchess.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glchess/src/glchess.vala b/glchess/src/glchess.vala
index e0506ca..d97a30b 100644
--- a/glchess/src/glchess.vala
+++ b/glchess/src/glchess.vala
@@ -594,7 +594,7 @@ public class Application
                 index = 0;
             else
                 index = move.victim.type + 1;
-            index *= move.piece.type;
+            index += move.piece.type * 6;
             if (move.piece.player.color == Color.BLACK)
                 index += 36;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]