summaryrefslogtreecommitdiff
path: root/src/game/game.cpp
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2017-12-16 16:45:46 +0100
committerPaweł Redman <pawel.redman@gmail.com>2017-12-16 16:45:46 +0100
commit3b9e3afd449facf5c98ffee50247c80e293f8545 (patch)
tree34dd4c8a1038ec666b6ccbf69a74d9ff09b2b86c /src/game/game.cpp
parentb13dc31b08cddf14ecfa6b8cf496cf4e7308083c (diff)
Start adding decorations.
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));