src/openttd.h
changeset 8259 127e5d73637d
parent 8238 29844a206bbe
child 8345 6caa3fdb972c
--- a/src/openttd.h	Sat Oct 20 10:19:23 2007 +0000
+++ b/src/openttd.h	Sat Oct 20 14:51:09 2007 +0000
@@ -69,7 +69,9 @@
 typedef uint16 GroupID;
 typedef uint16 EngineRenewID;
 typedef uint16 DestinationID;
-typedef int64 Money;
+
+typedef OverflowSafeInt<int64, INT64_MAX, INT64_MIN> OverflowSafeInt64;
+typedef OverflowSafeInt64 Money;
 
 /* DestinationID must be at least as large as every these below, because it can
  * be any of them