diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2022-02-24 18:28:38 +0100 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2022-03-30 08:20:21 +0200 |
| commit | 6c5eb81b3ca14bc66cdcef23b9410fc4a354e07c (patch) | |
| tree | 597f5a651364634fe8ceec133c8d1c95118889c6 /src | |
| parent | a09fbf12cf0f137472863e52fd74939b2c2c4585 (diff) | |
| download | rts-6c5eb81b3ca14bc66cdcef23b9410fc4a354e07c.tar.gz | |
game.c: remove #if 0
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) |
