mirror of
https://github.com/gwenhael-le-moine/c-urs_-toil-s.git
synced 2024-12-27 09:58:44 +01:00
readabler (?)
This commit is contained in:
parent
6b7fb34084
commit
c5e974a15d
1 changed files with 3 additions and 2 deletions
3
star.c
3
star.c
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue