summaryrefslogtreecommitdiffhomepage
path: root/src/scenery.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/scenery.hpp')
-rw-r--r--src/scenery.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scenery.hpp b/src/scenery.hpp
index bd51db8c..61345ab6 100644
--- a/src/scenery.hpp
+++ b/src/scenery.hpp
@@ -11,7 +11,7 @@ namespace floormat {
struct chunk;
class anim_atlas;
-struct world;
+class world;
enum class scenery_type : unsigned char {
none, generic,
@@ -50,7 +50,7 @@ struct scenery final : object
explicit operator scenery_proto() const;
private:
- friend struct world;
+ friend class world;
scenery(object_id id, struct chunk& c, const scenery_proto& proto);
};