mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-24 03:56:43 +00:00
(svn r22145) -Codechange: Do explicit test for non-bool values.
This commit is contained in:
+1
-1
@@ -781,7 +781,7 @@ static bool CheckInterval(int32 p1)
|
||||
vds = &Company::Get(_current_company)->settings.vehicle;
|
||||
}
|
||||
|
||||
if (p1) {
|
||||
if (p1 != 0) {
|
||||
vds->servint_trains = 50;
|
||||
vds->servint_roadveh = 50;
|
||||
vds->servint_aircraft = 50;
|
||||
|
||||
Reference in New Issue
Block a user