1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-16 19:19:09 +00:00

(svn r20939) -Fix: some MSVC warnings

This commit is contained in:
rubidium
2010-10-15 22:08:57 +00:00
parent 234bee0858
commit 5ed77b4919
2 changed files with 2 additions and 2 deletions

View File

@@ -66,7 +66,7 @@ static int32 ClickChangeCompanyCheat(int32 p1, int32 p2)
*/
static int32 ClickSetProdCheat(int32 p1, int32 p2)
{
_cheats.setup_prod.value = p1;
_cheats.setup_prod.value = (p1 != 0);
InvalidateWindowClassesData(WC_INDUSTRY_VIEW);
return _cheats.setup_prod.value;
}