summaryrefslogtreecommitdiffhomepage
path: root/src/critter.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/critter.hpp')
-rw-r--r--src/critter.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/critter.hpp b/src/critter.hpp
index 724e2b28..29b29a84 100644
--- a/src/critter.hpp
+++ b/src/critter.hpp
@@ -7,7 +7,7 @@
namespace floormat {
class anim_atlas;
-struct world;
+class world;
struct critter_proto : object_proto
{
@@ -39,7 +39,7 @@ struct critter final : object
private:
int allocate_frame_time(float dt);
- friend struct world;
+ friend class world;
critter(object_id id, struct chunk& c, const critter_proto& proto);
};