Aenderungen fuer wieder funktionierendes strict_types
- Deklarative Casts hinzugefuegt
- Typen gefixt
Change-Id: I44c6082d907efb241a35da248774809054f8c5ab
diff --git a/std/shells/magier.c b/std/shells/magier.c
index efde69f..320b947 100644
--- a/std/shells/magier.c
+++ b/std/shells/magier.c
@@ -166,7 +166,7 @@
static string _query_race()
{
- if (previous_object() && previous_object()->query_login_object())
+ if (previous_object() && ({int})previous_object()->query_login_object())
return 0;
return Query(P_RACE) ? Query(P_RACE) : Set(P_RACE, "Magier");
@@ -304,7 +304,7 @@
if (str=="\\ESCAPE" && IS_LORD(this_object()))
{
__set_environment(this_object(),"/room/void");
- environment()->init();
+ ({void})environment()->init();
printf("You escaped.\n");
return "";
}