commit | 6ef07131d37a0dfa8c118ec881b91f69cdfbe42a | [log] [tgz] |
---|---|---|
author | Arathorn <mud@mg.mud.de> | Wed Jul 29 10:23:59 2020 +0200 |
committer | MG Mud User <mud@mg.mud.de> | Wed Jul 29 10:23:59 2020 +0200 |
tree | 5919f2116728b873cd6206720911dbc69125a7c4 | |
parent | 5b9567687f8973f6bb3f3c38b24b65d32bc87927 [diff] |
Typecast-Fixes Change-Id: I6dc7b28ba5592e3ac0b5595271e8d25ca147df82
diff --git a/d/seher/haeuser/hausverwalter.c b/d/seher/haeuser/hausverwalter.c index 058a77b..ef37489 100644 --- a/d/seher/haeuser/hausverwalter.c +++ b/d/seher/haeuser/hausverwalter.c
@@ -495,11 +495,11 @@ return 1; // Innenraum - if (ob->QueryProp(P_INDOORS)) + if (({int})ob->QueryProp(P_INDOORS)) return 2; // Bauplatz-Property nicht gesetzt - if (!(ob->QueryProp(P_HAUS_ERLAUBT))) + if (!(({int})ob->QueryProp(P_HAUS_ERLAUBT))) return 3; return 0;