This commit is contained in:
Gwenhael Le Moine 2011-07-01 12:29:04 +02:00
parent 11f804d1cf
commit 639b9eda4b

4
star.c
View file

@ -291,9 +291,9 @@ char get_cell( struct state *s, int x, int y )
return s->level[ y * LEVEL_WIDTH + x ]; return s->level[ y * LEVEL_WIDTH + x ];
} }
void set_cell( struct state *s, int x, int y, char item ) void set_cell( struct state *s, int x, int y, cell value )
{ {
s->level[ y * LEVEL_WIDTH + x ] = item; s->level[ y * LEVEL_WIDTH + x ] = value;
} }
void load_level( struct state *s, char* lvl ) void load_level( struct state *s, char* lvl )