From d90c38ce59d406cdfd4303c836ee524a71ad0979 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 1 Sep 2023 22:36:26 +0200 Subject: rename character -> critter --- test/serializer.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'test/serializer.cpp') diff --git a/test/serializer.cpp b/test/serializer.cpp index 20413afe..9387f827 100644 --- a/test/serializer.cpp +++ b/test/serializer.cpp @@ -2,7 +2,7 @@ #include "src/world.hpp" #include "loader/loader.hpp" #include "src/scenery.hpp" -#include "src/character.hpp" +#include "src/critter.hpp" #include "src/light.hpp" #include "src/tile-atlas.hpp" #include "src/anim-atlas.hpp" @@ -64,10 +64,10 @@ void assert_chunks_equal(const chunk& a, const chunk& b) fm_assert(ae.type() == be.type()); switch (ae.type()) { - case object_type::character: { - const auto& e1 = static_cast(ae); - const auto& e2 = static_cast(be); - const auto p1 = character_proto(e1), p2 = character_proto(e2); + case object_type::critter: { + const auto& e1 = static_cast(ae); + const auto& e2 = static_cast(be); + const auto p1 =critter_proto(e1), p2 =critter_proto(e2); fm_assert(p1 == p2); break; } -- cgit v1.2.3