diff options
| author | fusion32 <marcopuzziello@gmail.com> | 2025-10-20 00:16:16 -0300 |
|---|---|---|
| committer | fusion32 <marcopuzziello@gmail.com> | 2025-10-20 00:16:16 -0300 |
| commit | d7e2acbba49612cf7773e45f6ac0aa878332ed81 (patch) | |
| tree | f367dd4ebf429c75ad25d7abe21a7819659e7a94 /src/houses.cc | |
| parent | ea31122de9ecdb64261b903c7a14f106cedb6393 (diff) | |
| download | game-d7e2acbba49612cf7773e45f6ac0aa878332ed81.tar.gz game-d7e2acbba49612cf7773e45f6ac0aa878332ed81.zip | |
fix problem with ShowNameDoor and "aleta grav" (#42)
Diffstat (limited to 'src/houses.cc')
| -rw-r--r-- | src/houses.cc | 2 |
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; |
