readabler (?)

This commit is contained in:
Gwenhael Le Moine 2011-07-01 15:05:38 +02:00
parent 6b7fb34084
commit c5e974a15d

3
star.c
View file

@ -107,7 +107,8 @@ void move( struct state *s, direction where )
( get_cell( s, tmpx + dx, tmpy + dy ) == VOID )
/* or, in case the ball is moving, target cell can be a gift (which we'll eat) */
|| ( s->moving == BALL && ( get_cell( s, tmpx + dx, tmpy + dy ) == GIFT ) )
) {
)
{
tmpx += dx;
tmpy += dy;