diff options
Diffstat (limited to 'src/editor/editor_window.cpp')
| -rw-r--r-- | src/editor/editor_window.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/editor/editor_window.cpp b/src/editor/editor_window.cpp index 51ca67d..bd70418 100644 --- a/src/editor/editor_window.cpp +++ b/src/editor/editor_window.cpp @@ -108,7 +108,7 @@ void editor_update_toolview( GAME_EDITOR* e ) { gui_editor_toolview_update( egui->tool ); } -void settool( U8 t ) { +void editor_settool( U8 t ) { editor->tool.type = t; if( editor->gui.v2d ) editor->gui.v2d->poly_drag = 0; @@ -116,6 +116,10 @@ void settool( U8 t ) { editor_update_toolview( editor ); } +void settool( U8 t ) { + editor_settool( t ); +} + const char* editor_tool_name() { switch( editor->tool.type ) { case EDITOR_TOOL_SELECT: return "select"; |
