aboutsummaryrefslogtreecommitdiff
path: root/src/moveuse.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/moveuse.cc')
-rw-r--r--src/moveuse.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/moveuse.cc b/src/moveuse.cc
index db1a397..253f511 100644
--- a/src/moveuse.cc
+++ b/src/moveuse.cc
@@ -2329,7 +2329,7 @@ void SeparationEvent(Object Obj, Object Start){
ObjectType DoorTarget = HelpType.getFlag(LEVELDOOR)
? (int)HelpType.getAttribute(LEVELDOORTARGET)
: (int)HelpType.getAttribute(QUESTDOORTARGET);
- if(DoorTarget.isMapContainer() || DoorTarget.getFlag(UNPASS)){
+ if(DoorTarget.isMapContainer() || !DoorTarget.getFlag(UNPASS)){
error("SeparationEvent: Zieltür für Tür %d nicht spezifiziert oder passierbar.\n",
HelpType.TypeID);
throw ERROR;