@@ -177,16 +177,15 @@ void DrawPlayerFace(uint32 face, int col
}
void InvalidatePlayerWindows(Player *p)
{
uint pid = p->index;
if ( (byte)pid == _local_player)
InvalidateWindow(WC_STATUS_BAR, 0);
PlayerID pid = p->index;
if (pid == _local_player) InvalidateWindow(WC_STATUS_BAR, 0);
InvalidateWindow(WC_FINANCES, pid);
bool CheckPlayerHasMoney(int32 cost)
if (cost > 0) {