aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfusion32 <marcopuzziello@gmail.com>2025-10-20 00:16:16 -0300
committerfusion32 <marcopuzziello@gmail.com>2025-10-20 00:16:16 -0300
commitd7e2acbba49612cf7773e45f6ac0aa878332ed81 (patch)
treef367dd4ebf429c75ad25d7abe21a7819659e7a94 /src
parentea31122de9ecdb64261b903c7a14f106cedb6393 (diff)
downloadgame-d7e2acbba49612cf7773e45f6ac0aa878332ed81.tar.gz
game-d7e2acbba49612cf7773e45f6ac0aa878332ed81.zip
fix problem with ShowNameDoor and "aleta grav" (#42)
Diffstat (limited to 'src')
-rw-r--r--src/houses.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/houses.cc b/src/houses.cc
index 84c9634..5c03ad8 100644
--- a/src/houses.cc
+++ b/src/houses.cc
@@ -653,7 +653,7 @@ void ShowNameDoor(Object Door, TPlayer *Player, char *Buffer){
print(3, "Editiere NameDoor.\n");
// TODO(fusion): Check for `NAMEDOOR` flag as well?
- if(Door.getObjectType().getFlag(TEXT)){
+ if(!Door.getObjectType().getFlag(TEXT)){
error("ShowNameDoor: Tür auf Koordinate [%d,%d,%d] enthält keinen Text.\n",
DoorX, DoorY, DoorZ);
throw ERROR;