summaryrefslogtreecommitdiffhomepage
path: root/editor/editor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/editor.cpp')
-rw-r--r--editor/editor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/editor/editor.cpp b/editor/editor.cpp
index de2e690e..86a180b5 100644
--- a/editor/editor.cpp
+++ b/editor/editor.cpp
@@ -191,7 +191,7 @@ void editor::set_mode(editor_mode mode)
on_release();
}
-const tile_editor* editor::current_ground_editor() const noexcept
+const ground_editor* editor::current_ground_editor() const noexcept
{
switch (_mode)
{
@@ -229,9 +229,9 @@ const vobj_editor* editor::current_vobj_editor() const noexcept
return nullptr;
}
-tile_editor* editor::current_ground_editor() noexcept
+ground_editor* editor::current_ground_editor() noexcept
{
- return const_cast<tile_editor*>(static_cast<const editor&>(*this).current_ground_editor());
+ return const_cast<ground_editor*>(static_cast<const editor&>(*this).current_ground_editor());
}
wall_editor* editor::current_wall_editor() noexcept