[Xbubble-commits] xbubble-sdl/src board.c,1.6,1.7
Martin Quinson
mquinson at alioth.debian.org
Thu Sep 14 09:12:09 UTC 2006
- Previous message: [Xbubble-commits] xbubble-sdl/src game.c,1.6,1.7
- Next message: [Xbubble-commits] xbubble-sdl/src board.c, 1.7, 1.8 board.h, 1.4,
1.5 theme.c, 1.4, 1.5 xbubble.c, 1.6, 1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/xbubble/xbubble-sdl/src
In directory haydn:/tmp/cvs-serv12342
Modified Files:
board.c
Log Message:
Fix a bug leading to an infinite loop when an explosion is trigered. This is almost playable now
Index: board.c
===================================================================
RCS file: /cvsroot/xbubble/xbubble-sdl/src/board.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- board.c 14 Sep 2006 08:48:19 -0000 1.6
+++ board.c 14 Sep 2006 09:12:06 -0000 1.7
@@ -540,7 +540,7 @@
bubble->vy += dt*GRAVITY;
/* bounce bubble against walls */
while ( bubble->x < board->left_border
- || bubble->x > board->left_border ) {
+ || bubble->x > board->right_border ) {
/* explosions can be quite violente, thus the while */
if ( bubble->x < board->left_border ) {
- Previous message: [Xbubble-commits] xbubble-sdl/src game.c,1.6,1.7
- Next message: [Xbubble-commits] xbubble-sdl/src board.c, 1.7, 1.8 board.h, 1.4,
1.5 theme.c, 1.4, 1.5 xbubble.c, 1.6, 1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Xbubble-commits
mailing list