From 945d6cb24be531885c5c2a4e676be9bc330a4afa Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 24 Jul 2016 21:41:24 +0300 Subject: Fix wrong assert for portals. --- src/being/being.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/being') diff --git a/src/being/being.cpp b/src/being/being.cpp index 04dc00025..935c2112c 100644 --- a/src/being/being.cpp +++ b/src/being/being.cpp @@ -509,9 +509,10 @@ void Being::setSubtype(const BeingTypeId subtype, } break; } + case ActorType::Portal: + break; case ActorType::Unknown: case ActorType::FloorItem: - case ActorType::Portal: default: reportAlways("Wrong being type %d in setSubType", CAST_S32(mType)); -- cgit v1.2.3-60-g2f50