aboutsummaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2022-02-24 18:28:38 +0100
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2022-03-30 08:20:21 +0200
commit6c5eb81b3ca14bc66cdcef23b9410fc4a354e07c (patch)
tree597f5a651364634fe8ceec133c8d1c95118889c6 /src/game
parenta09fbf12cf0f137472863e52fd74939b2c2c4585 (diff)
downloadrts-6c5eb81b3ca14bc66cdcef23b9410fc4a354e07c.tar.gz
game.c: remove #if 0
Diffstat (limited to 'src/game')
-rw-r--r--src/game/src/game.c4
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)