diff options
author | alberth <alberth@openttd.org> | 2009-10-31 19:46:51 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2009-10-31 19:46:51 +0000 |
commit | 44aacfc59f06106acc492dda7b514db5c7f082ca (patch) | |
tree | c1502b47e5712f3dbe7b0542e88312bec676751e /src/vehicle.cpp | |
parent | 4ce1f5f0a0af73f618a1116b9e4cc25035caead5 (diff) | |
download | openttd-44aacfc59f06106acc492dda7b514db5c7f082ca.tar.xz |
(svn r17928) -Codechange: ShowErrorMessage() now takes the summary string before the details string.
Gentlemen, swap your string parameters.
Diffstat (limited to 'src/vehicle.cpp')
-rw-r--r-- | src/vehicle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle.cpp b/src/vehicle.cpp index 2914c4393..9cee5abd6 100644 --- a/src/vehicle.cpp +++ b/src/vehicle.cpp @@ -130,7 +130,7 @@ void ShowNewGrfVehicleError(EngineID engine, StringID part1, StringID part2, GRF SetBit(grfconfig->grf_bugs, bug_type); SetDParamStr(0, grfconfig->name); SetDParam(1, engine); - ShowErrorMessage(part2, part1, 0, 0, true); + ShowErrorMessage(part1, part2, 0, 0, true); if (!_networking) DoCommand(0, critical ? PM_PAUSED_ERROR : PM_PAUSED_NORMAL, 1, DC_EXEC, CMD_PAUSE); } |