gcompris r3707 - in trunk: . src/boards/python
- From: bcoudoin svn gnome org
- To: svn-commits-list gnome org
- Subject: gcompris r3707 - in trunk: . src/boards/python
- Date: Fri, 30 Jan 2009 22:47:19 +0000 (UTC)
Author: bcoudoin
Date: Fri Jan 30 22:47:19 2009
New Revision: 3707
URL: http://svn.gnome.org/viewvc/gcompris?rev=3707&view=rev
Log:
Fixed small bug (2 player mode) -> show happy flower even if player 2 wins
Modified:
trunk/ChangeLog
trunk/src/boards/python/connect4.py
Modified: trunk/src/boards/python/connect4.py
==============================================================================
--- trunk/src/boards/python/connect4.py (original)
+++ trunk/src/boards/python/connect4.py Fri Jan 30 22:47:19 2009
@@ -1,7 +1,5 @@
# gcompris - connect4
#
-# Time-stamp:
-#
# Copyright (C) 2005 Laurent Lacheny
#
# This program is free software; you can redistribute it and/or modify
@@ -351,7 +349,7 @@
width_pixels = 8
)
self.redLine.set_property("cap-style", gtk.gdk.CAP_ROUND)
- if player == 1:
+ if player == 1 or self.mode == 2:
gcompris.bonus.display(gcompris.bonus.WIN, gcompris.bonus.FLOWER)
elif player == 2:
gcompris.bonus.display(gcompris.bonus.LOOSE, gcompris.bonus.FLOWER)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]