summaryrefslogtreecommitdiffhomepage
path: root/src/scenery.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-03-23 05:45:29 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-03-23 07:42:29 +0100
commit9f6d6555a2999256d5eceddca1d16329c401804c (patch)
tree1148e5b9f009d6e4ffd2e4e10f46a8e39f288557 /src/scenery.cpp
parent0ce0318162da4e36a232ab465f66f20dc4e55288 (diff)
fix switch warnings
Diffstat (limited to 'src/scenery.cpp')
-rw-r--r--src/scenery.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/scenery.cpp b/src/scenery.cpp
index fc018107..d95908c2 100644
--- a/src/scenery.cpp
+++ b/src/scenery.cpp
@@ -249,6 +249,7 @@ scenery_variants scenery::subtype_from_scenery_type(object_id id, class chunk& c
case scenery_type::door:
return door_scenery{id, c, {}};
case scenery_type::none:
+ default:
break;
}
fm_throw("invalid scenery type"_cf, (int)type);