summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-24 21:41:24 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-24 21:41:24 +0300
commit945d6cb24be531885c5c2a4e676be9bc330a4afa (patch)
treef8ad769cc6b3f4a5034659c6a7d7c55a5b71d467 /src/being
parentbe513302d41da31a69f4661bab67b930612db967 (diff)
downloadmanaverse-945d6cb24be531885c5c2a4e676be9bc330a4afa.tar.gz
manaverse-945d6cb24be531885c5c2a4e676be9bc330a4afa.tar.bz2
manaverse-945d6cb24be531885c5c2a4e676be9bc330a4afa.tar.xz
manaverse-945d6cb24be531885c5c2a4e676be9bc330a4afa.zip
Fix wrong assert for portals.
Diffstat (limited to 'src/being')
-rw-r--r--src/being/being.cpp3
1 files changed, 2 insertions, 1 deletions
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));