Typecast-Fixes aufgrund von strict_types
Change-Id: I88dbda30bc814607dc771f4e96d78c0e1773ae9d
diff --git a/room/death/death_room_vc.c b/room/death/death_room_vc.c
index c7c8292..9cfd529 100644
--- a/room/death/death_room_vc.c
+++ b/room/death/death_room_vc.c
@@ -47,7 +47,7 @@
void test_remove()
{
if (!sizeof(all_inventory(this_object())&users()))
- if (!this_object()->remove()) destruct(this_object());
+ if (!({int})this_object()->remove()) destruct(this_object());
}
public void reset()
@@ -84,12 +84,12 @@
if ( !(prayroom = (string) this_player()->QueryPrayRoom()) )
prayroom = "/room/pray_room";
- if ( !this_player()->QueryProp(P_GHOST) )
+ if ( !({int})this_player()->QueryProp(P_GHOST) )
{
if ( IS_WIZARD(this_player()) &&
- this_player()->QueryProp(P_WANTS_TO_LEARN) )
+ ({int})this_player()->QueryProp(P_WANTS_TO_LEARN) )
{
- if ( !this_player()->QueryProp(P_INVIS) )
+ if ( !({int})this_player()->QueryProp(P_INVIS) )
tell_room( this_object(),
"Der Tod sagt: WAS WILLST DU HIER, "+
upperstring((string) this_player()->name())+"?\n"+