resolve floating point exception when wliding through walls
This commit is contained in:
@@ -42,6 +42,11 @@ int main(int ac, char **av)
|
||||
mb_init(destroy_mlx, game);
|
||||
|
||||
// draw game a first time before it start
|
||||
|
||||
// tmp
|
||||
plr_turn(&game->plr, -63);
|
||||
// tmp end
|
||||
|
||||
draw(game);
|
||||
|
||||
// receive a keypress event
|
||||
|
||||
Reference in New Issue
Block a user