Change grfmsg to be a macro which checks the debug level first

This is to avoid doing a sprintf when the result will be thrown away
This commit is contained in:
Jonathan G Rennison
2018-05-27 22:28:07 +01:00
parent 0d0d55f81d
commit 641e877441
3 changed files with 5 additions and 2 deletions

View File

@@ -9,6 +9,7 @@
/** @file newgrf_class_func.h Implementation of the NewGRF class' functions. */
#include "newgrf.h"
#include "newgrf_class.h"
#include "table/strings.h"