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 | 669045df00302d7c4df861c4c21cac1efdb54048 (patch) | |
| tree | bbcb67550ef9bd1db6d0129d3de078b3ad406925 /src | |
| parent | 78b11045844da3934f30fcf8c388531de274fb3b (diff) | |
| download | jancity-669045df00302d7c4df861c4c21cac1efdb54048.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) |
