Fix: ScriptRoad::HasRoadType really check for RoadType
commit3dda8c9bad636b0f3379be47ef4fb1eae99d7f80
authorSamuXarick <43006711+SamuXarick@users.noreply.github.com>
Sun, 26 Jun 2022 19:49:08 +0000 (26 20:49 +0100)
committerMichael Lutz <michi@icosahedron.de>
Sun, 16 Oct 2022 16:27:23 +0000 (16 18:27 +0200)
treeaa83ee954cb49f3c7854c29c9ad455015b873035
parent45d98f689a35f7b534fef7d38f3992125410af53
Fix: ScriptRoad::HasRoadType really check for RoadType

Script::HasRoadType was only checking if the tile had the same RoadTramType as that of the RoadType provided.
Now it really checks RoadType against RoadType.
28 files changed:
bin/ai/compat_0.7.nut
bin/ai/compat_1.0.nut
bin/ai/compat_1.1.nut
bin/ai/compat_1.10.nut
bin/ai/compat_1.11.nut
bin/ai/compat_1.2.nut
bin/ai/compat_1.3.nut
bin/ai/compat_1.4.nut
bin/ai/compat_1.5.nut
bin/ai/compat_1.6.nut
bin/ai/compat_1.7.nut
bin/ai/compat_1.8.nut
bin/ai/compat_1.9.nut
bin/ai/compat_12.nut
bin/game/compat_1.10.nut
bin/game/compat_1.11.nut
bin/game/compat_1.2.nut
bin/game/compat_1.3.nut
bin/game/compat_1.4.nut
bin/game/compat_1.5.nut
bin/game/compat_1.6.nut
bin/game/compat_1.7.nut
bin/game/compat_1.8.nut
bin/game/compat_1.9.nut
bin/game/compat_12.nut
src/script/api/ai_changelog.hpp
src/script/api/game_changelog.hpp
src/script/api/script_road.cpp