Diverse kaputte Casts repariert.
Unwirksame und ueberfluessige Casts entfernt,
etwas Code-Cleanup.
Change-Id: I92f01e6391c432cd0881a5faac580f6d0b40c323
diff --git a/items/money.c b/items/money.c
index af88680..f6a5173 100644
--- a/items/money.c
+++ b/items/money.c
@@ -6,7 +6,7 @@
inherit "/std/unit";
-#pragma strong_types,rtt_checks
+#pragma strict_types,rtt_checks
#include <properties.h>
#include <language.h>
@@ -116,7 +116,7 @@
int _query_autoloadobj()
{
- return (int)Query(P_AMOUNT, F_VALUE);
+ return ({int})Query(P_AMOUNT, F_VALUE);
}
string current_long() {