centralized malloc system
This commit is contained in:
@@ -4,7 +4,7 @@ t_game *init_game(void)
|
||||
{
|
||||
t_game *game;
|
||||
|
||||
game = malloc(sizeof(t_game));
|
||||
game = gmalloc(sizeof(t_game));
|
||||
// player first position
|
||||
game->plr_x = 16;
|
||||
game->plr_y = 16;
|
||||
|
||||
Reference in New Issue
Block a user