Changeset - r21404:552a3053d0fd
[Not reviewed]
master
0 1 0
rubidium - 11 years ago 2014-04-24 18:49:24
rubidium@openttd.org
(svn r26503) -Fix: compilation error with full debug build
1 file changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/map.cpp
Show inline comments
 
@@ -13,6 +13,7 @@
 
#include "debug.h"
 
#include "core/alloc_func.hpp"
 
#include "water_map.h"
 
#include "string_func.h"
 

	
 
#include "safeguards.h"
 

	
 
@@ -84,7 +85,7 @@ TileIndex TileAdd(TileIndex tile, TileIn
 
	if (x >= MapSizeX() || y >= MapSizeY()) {
 
		char buf[512];
 

	
 
		snprintf(buf, lengthof(buf), "TILE_ADD(%s) when adding 0x%.4X and 0x%.4X failed",
 
		seprintf(buf, lastof(buf), "TILE_ADD(%s) when adding 0x%.4X and 0x%.4X failed",
 
			exp, tile, add);
 
#if !defined(_MSC_VER) || defined(WINCE)
 
		fprintf(stderr, "%s:%d %s\n", file, line, buf);
0 comments (0 inline, 0 general)