summaryrefslogtreecommitdiff
path: root/bin/game/compat_1.9.nut
diff options
context:
space:
mode:
Diffstat (limited to 'bin/game/compat_1.9.nut')
-rw-r--r--bin/game/compat_1.9.nut7
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/game/compat_1.9.nut b/bin/game/compat_1.9.nut
index ab9ffbcca..32eec114a 100644
--- a/bin/game/compat_1.9.nut
+++ b/bin/game/compat_1.9.nut
@@ -6,3 +6,10 @@
*/
GSLog.Info("1.9 API compatibility in effect.");
+
+/* 1.11 adds a tile parameter. */
+GSCompany._ChangeBankBalance <- GSCompany.ChangeBankBalance;
+GSCompany.ChangeBankBalance <- function(company, delta, expenses_type)
+{
+ return GSCompany._ChangeBankBalance(company, delta, expenses_type, GSMap.TILE_INVALID);
+}