summaryrefslogtreecommitdiff
path: root/src/game/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/game.cpp')
-rw-r--r--src/game/game.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/game.cpp b/src/game/game.cpp
index 3005bd5..993f450 100644
--- a/src/game/game.cpp
+++ b/src/game/game.cpp
@@ -10,6 +10,7 @@ void state_t::start(void)
alien_t *alien;
world.generator = worldgen;
+ world.generator_data = (void*)this;
human = new human_t(this);
human->place(&world, v2f_t(0.5, 0.5));