Fix wrong order in results screen when players team up
authorTheException
Mon, 08 Nov 2010 23:05:44 +0100
changeset 4217 721bfa5f4f31
parent 4215 36632d5b8492
child 4218 d90e9c89596b
Fix wrong order in results screen when players team up
QTfrontend/statsPage.cpp
--- a/QTfrontend/statsPage.cpp	Mon Nov 08 22:12:14 2010 +0100
+++ b/QTfrontend/statsPage.cpp	Mon Nov 08 23:05:44 2010 +0100
@@ -195,7 +195,7 @@
             QString playername = playerinfo.mid(i + 1);
             QString image;
 
-            if (lastColor == c && playerPosition <= 2) playerPosition = 1;
+            if (lastColor == c) playerPosition--;
             lastColor = c;
 
             switch (playerPosition)