summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/worldgen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/worldgen.cpp b/src/game/worldgen.cpp
index 6ade1a6..0bf67ed 100644
--- a/src/game/worldgen.cpp
+++ b/src/game/worldgen.cpp
@@ -40,7 +40,7 @@ void add_decoration(world_t *world, state_t *game, v2f_t x)
deco = new deco_t(game, type);
deco->phase_shift = offset[0] * 500.0;
- deco->place(world, x);
+ deco->place(world, center);
}
void worldgen(world_t *world, sector_index_t index, sector_t *sector,