(svn r10258) -Codechange: as we are now using int64 all over the place, it's better to use int64 variables in the string generating too instead of packing them into two int32s.
-Fix: some displays of money were wrong.
This commit is contained in:
@@ -2208,7 +2208,7 @@ static void StatusBarWndProc(Window *w, WindowEvent *e)
|
||||
|
||||
if (p != NULL) {
|
||||
/* Draw player money */
|
||||
SetDParamMoney(0, p->player_money);
|
||||
SetDParam(0, p->player_money);
|
||||
DrawStringCentered(570, 1, p->player_money >= 0 ? STR_0004 : STR_0005, 0);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user