diverse Typecast-Fixes
Change-Id: Ie8b87b64bc90855c99206830a05cd5d029b0bef8
diff --git a/d/seher/haeuser/hausverwalter.c b/d/seher/haeuser/hausverwalter.c
index 26643d1..058a77b 100644
--- a/d/seher/haeuser/hausverwalter.c
+++ b/d/seher/haeuser/hausverwalter.c
@@ -117,7 +117,8 @@
return 1;
}
- catch(ar = (int)(PATH+"access_rights")->access_rights(geteuid(this_interactive()), "haus.h"));
+ catch(ar = ({int})(PATH+"access_rights")->access_rights(
+ geteuid(this_interactive()), "haus.h"));
// Erzmagier und alle mit Schreibrechten auf haus.h duerfen
if ( (this_interactive() == this_player()) &&
@@ -188,7 +189,8 @@
printf("error loading %O!\n", hname);
continue;
}
- foreach (string dir, string path : (mapping)(here->QueryProp(P_EXITS))) {
+ foreach (string dir, string path : ({mapping})(here->QueryProp(P_EXITS)))
+ {
// betrachte alle Ausgaenge
if (dir == "raus") {
// Haustuer aus dem Hauptraum darf natuerlich rausfuehren