summaryrefslogtreecommitdiffhomepage
path: root/editor/scenery-editor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/scenery-editor.cpp')
-rw-r--r--editor/scenery-editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/scenery-editor.cpp b/editor/scenery-editor.cpp
index 45dd0288..562ca04f 100644
--- a/editor/scenery-editor.cpp
+++ b/editor/scenery-editor.cpp
@@ -84,7 +84,7 @@ void scenery_editor::place_tile(world& w, global_coords pos, const scenery_& s)
// don't regen colliders
const auto px = Vector2(pos.local()) * TILE_SIZE2;
const auto es = c.entities();
- for (auto i = es.size()-1; i != (std::size_t)-1; i--)
+ for (auto i = es.size()-1; i != (size_t)-1; i--)
{
const auto& e = *es[i];
if (e.type != entity_type::scenery)