1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-24 06:59:10 +00:00

(svn r3294) - Fix: use INVALID_STRING_ID instead of -1.

- Fix: savegames only give back one message, show this by ignoring the first argument. Perhaps make the message more verbose in the future by adding STR_ equivalents next to the already existing debug messages.
This commit is contained in:
Darkvater
2005-12-13 21:21:57 +00:00
parent 2a60262c99
commit 56998926e7
6 changed files with 11 additions and 13 deletions

View File

@@ -340,9 +340,7 @@ int32 DoCommand(int x, int y, uint32 p1, uint32 p2, uint32 flags, uint procc)
proc = _command_proc_table[procc].proc;
if (_docommand_recursive == 0) {
_error_message = INVALID_STRING_ID;
}
if (_docommand_recursive == 0) _error_message = INVALID_STRING_ID;
_docommand_recursive++;