summaryrefslogtreecommitdiffhomepage
path: root/editor/editor.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/editor.hpp')
-rw-r--r--editor/editor.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/editor/editor.hpp b/editor/editor.hpp
index 1093aa8d..bcbc26d1 100644
--- a/editor/editor.hpp
+++ b/editor/editor.hpp
@@ -1,6 +1,5 @@
#pragma once
#include "compat/defs.hpp"
-#include "compat/integer-types.hpp"
#include "global-coords.hpp"
#include "tile-image.hpp"
#include "scenery.hpp"
@@ -29,7 +28,7 @@ struct editor final
tile_editor* current_tile_editor() noexcept;
const tile_editor* current_tile_editor() const noexcept;
- enum class button : std::uint8_t { none, place, remove, };
+ enum class button : unsigned char { none, place, remove, };
void on_click(world& world, global_coords pos, int mods, button b);
void on_click_(world& world, global_coords pos, button b);