From 981141b03f97de9734ff9d99a8bdd8277433780e Mon Sep 17 00:00:00 2001 From: Angelo Geels Date: Wed, 9 Jul 2014 17:00:39 +0200 Subject: [PATCH] Fix bottom toolbar not invalidating on finance payment --- src/finance.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/finance.c b/src/finance.c index a900c9ec82..601af718f8 100644 --- a/src/finance.c +++ b/src/finance.c @@ -43,7 +43,7 @@ const money32 research_cost_table[4] = { }; /** - * + * Pay an amount of money. * rct2: 0x069C674 * @param amount (eax) * @param type passed via global var 0x0141F56C, our type is that var/4. @@ -62,6 +62,7 @@ void finance_payment(money32 amount, rct_expenditure_type type) RCT2_GLOBAL(0x009A9804, uint32) |= 1; // money diry flag window_invalidate_by_id(WC_FINANCES, 0); + window_invalidate_by_id(0x40 | WC_BOTTOM_TOOLBAR, 0); } /**