FS#6652 - Patch to guard for NO_DEBUG_MESSAGES

Attached to Project: OpenTTD
Opened by Borg (Borg) - Wednesday, 03 January 2018, 18:26 GMT
Type Patch
Category Core
Status New
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version 1.7.2
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


Here is patch do suppress all debug messages when
someone is compiling with NO_DEBUG_MESSAGES defined.
No all places had it.
This task depends upon

Comment by frosch (frosch) - Sunday, 11 March 2018, 11:28 GMT
The desync debug messages are no ordinary debug messages. They are for replaying games.
Making NO_DEBUG_MESSAGES interfer with that sounds weird to me.
Comment by Borg (Borg) - Monday, 12 March 2018, 09:43 GMT
Woops, indeed.. I got carried away here..
Attaching fixed patch.