(svn r10247) -Fix (r10210): *always* call SetDParamMoney when you want to place money in some string.
This commit is contained in:
@@ -2208,7 +2208,7 @@ static void StatusBarWndProc(Window *w, WindowEvent *e)
|
||||
|
||||
if (p != NULL) {
|
||||
/* Draw player money */
|
||||
SetDParam64(0, p->player_money);
|
||||
SetDParamMoney(0, p->player_money);
|
||||
DrawStringCentered(570, 1, p->player_money >= 0 ? STR_0004 : STR_0005, 0);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user