summaryrefslogtreecommitdiff
path: root/src/editor/editor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/editor/editor.cpp')
-rw-r--r--src/editor/editor.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/editor/editor.cpp b/src/editor/editor.cpp
index d97164e..ad23d1e 100644
--- a/src/editor/editor.cpp
+++ b/src/editor/editor.cpp
@@ -15,6 +15,10 @@ GAME_EDITOR* editor_create( GAME_DATA* game ) {
e->grid = 1.f;
e->spritesize = EDITOR_DEFAULT_SPRITE_SIZE;
+ e->tool.wallshape = EDITOR_WALLSHAPE_LINE;
+ e->tool.polysides = EDITOR_DEFAULT_POLY_SIDES;
+ e->tool.wallheight = EDITOR_DEFAULT_WALL_HEIGHT;
+ e->tool.placementheight = EDITOR_DEFAULT_PLACEMENT_HEIGHT;
e->game = game;
gui_init( game );