diff -urN wesnoth-1.10.5/src/terrain_translation.cpp wesnoth-1.10.5.orig/src/terrain_translation.cpp --- wesnoth-1.10.5/src/terrain_translation.cpp 2012-01-07 03:35:17.000000000 +0100 +++ wesnoth-1.10.5.orig/src/terrain_translation.cpp 2012-11-29 21:24:05.702100978 +0100 @@ -800,6 +800,11 @@ tcode[1] = ((terrain.base & 0x00FF0000) >> 16); tcode[2] = ((terrain.base & 0x0000FF00) >> 8); tcode[3] = (terrain.base & 0x000000FF); + tcode[4] = 0; + tcode[5] = 0; + tcode[6] = 0; + tcode[7] = 0; + tcode[8] = 0; if(terrain.overlay != NO_LAYER) { tcode[4] = '^'; //the layer separator