Deklarative Casts ergaenzt
Change-Id: I3a3ba97c777d19d2199318a1bb17fa9285f1b65d
diff --git a/std/living/moving.c b/std/living/moving.c
index d75c0c0..829fcef 100644
--- a/std/living/moving.c
+++ b/std/living/moving.c
@@ -314,7 +314,7 @@
direction = 0;
foreach (object who : all_inventory(environment())) {
- if (who != this_object() && living(who) && !who->CannotSee(1))
+ if (who != this_object() && living(who) && !({int})who->CannotSee(1))
who->ReceiveMsg(sprintf("%s %s%s%s.",
Name(WER,2),
textout,
@@ -386,7 +386,7 @@
}
foreach (object who : all_inventory(environment())) {
- if (who != this_object() && living(who) && !who->CannotSee(1))
+ if (who != this_object() && living(who) && !({int})who->CannotSee(1))
who->ReceiveMsg(Name(WER,0)+" "+textin+".", MT_LOOK, MA_MOVE_IN);
}
}