summaryrefslogtreecommitdiff
path: root/GUI.cpp
diff options
context:
space:
mode:
authorPetr Mrázek2012-01-05 23:38:30 +0100
committerPetr Mrázek2012-01-05 23:38:30 +0100
commit45b11988bccfeb059f55ded6e4ad0d317e802714 (patch)
tree6fb8de24258a7150d94369c243d593f392e23f75 /GUI.cpp
parent1b28039e2c93daa3c2f69f5e2a000ff8c96ee1f8 (diff)
downloadstonesense-45b11988bccfeb059f55ded6e4ad0d317e802714.tar.gz
stonesense-45b11988bccfeb059f55ded6e4ad0d317e802714.tar.bz2
stonesense-45b11988bccfeb059f55ded6e4ad0d317e802714.tar.xz
No more vtable entry in building copy struct.
Diffstat (limited to 'GUI.cpp')
-rw-r--r--GUI.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/GUI.cpp b/GUI.cpp
index d574d86..b20dd3d 100644
--- a/GUI.cpp
+++ b/GUI.cpp
@@ -447,9 +447,9 @@ void drawDebugCursorAndInfo(){
const char* matName = lookupMaterialTypeName(b->building.info.material.type);
const char* subMatName = lookupMaterialName(b->building.info.material.type,b->building.info.material.index);
draw_textf_border(font, al_map_rgb(255,255,255), 2, al_get_bitmap_height(al_get_target_bitmap())-20-(i--*al_get_font_line_height(font)), 0,
- "Building: %s(%i,0x%x) Material: %s%s%s (%d,%d)",
+ "Building: %s(%i) Material: %s%s%s (%d,%d)",
contentLoader->classIdStrings.at(b->building.info.type).c_str(),
- b->building.info.type, b->building.info.vtable,
+ b->building.info.type,
matName?matName:"Unknown",subMatName?"/":"",subMatName?subMatName:"",
b->building.info.material.type,b->building.info.material.index);