trailing spaces
This commit is contained in:
parent
d6f1d9cad7
commit
0773cd4d14
18
w/w.c
18
w/w.c
|
@ -748,7 +748,7 @@ void update(char* command)
|
|||
state.position.x = 1;
|
||||
state.position.y = 13;
|
||||
state.position.orientation = NORTH;
|
||||
|
||||
|
||||
if (map[0] == 0)
|
||||
{
|
||||
initmap();
|
||||
|
@ -912,28 +912,28 @@ void draw()
|
|||
/*printf("\n\n");
|
||||
switch (state.position.orientation)
|
||||
{
|
||||
case NORTH:
|
||||
case NORTH:
|
||||
printf(" ^\n");
|
||||
printf(" - -\n");
|
||||
printf(" -\n");
|
||||
printf(" -\n");
|
||||
break;
|
||||
case EAST:
|
||||
case EAST:
|
||||
printf(" -\n");
|
||||
printf(" - >\n");
|
||||
printf(" -\n");
|
||||
printf(" -\n");
|
||||
break;
|
||||
case SOUTH:
|
||||
printf(" -\n");
|
||||
printf(" - -\n");
|
||||
printf(" v\n");
|
||||
printf(" v\n");
|
||||
break;
|
||||
case WEST:
|
||||
printf(" -\n");
|
||||
printf(" < -\n");
|
||||
printf(" -\n");
|
||||
printf(" -\n");
|
||||
break;
|
||||
}*/
|
||||
|
||||
|
||||
printf("\n\n");
|
||||
printf("i: Inventaire\n");
|
||||
if (charatpos(state.position.x, state.position.y) == TILE_START)
|
||||
|
@ -1022,7 +1022,7 @@ int main()
|
|||
draw();
|
||||
getcommand(command);
|
||||
}
|
||||
|
||||
|
||||
printf("Partie enregistrée.");
|
||||
savestate();
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue