diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/game/src/game.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/src/game.c b/src/game/src/game.c index 34d79d2..3145c91 100644 --- a/src/game/src/game.c +++ b/src/game/src/game.c @@ -40,7 +40,7 @@ int game(void) struct resource res[MAP_RESOURCES] = {0}; terrain_init(&map); -#if 1 + if (resource_create(&(const struct resource_cfg) { .type = RESOURCE_TYPE_GOLD, @@ -60,7 +60,7 @@ int game(void) .y = 200 }, res, sizeof res / sizeof *res)) goto end; -#endif + bool exit = false; while (!exit) |
