diff options
Diffstat (limited to 'bin/game/compat_1.7.nut')
-rw-r--r-- | bin/game/compat_1.7.nut | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/game/compat_1.7.nut b/bin/game/compat_1.7.nut index febd335c3..76dc42435 100644 --- a/bin/game/compat_1.7.nut +++ b/bin/game/compat_1.7.nut @@ -13,3 +13,10 @@ GSBridge.GetName <- function(bridge_id) { return GSBridge._GetName(bridge_id, GSVehicle.VT_RAIL); } + +/* 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); +} |