summaryrefslogtreecommitdiff
path: root/GUI.cpp
diff options
context:
space:
mode:
authorJapa Illo2012-02-12 20:12:42 +0530
committerJapa Illo2012-02-12 20:12:42 +0530
commit9e38e139ecce28e6bc316c05eccb28d411cae412 (patch)
tree09df6431ec2af56a39f7e188689e102182fc4bf4 /GUI.cpp
parentbacf2e236949621328de78f4dedcbb7c13520c70 (diff)
parentf824e83b5c4f4dfc1bbe60681d8dc6ed88f3f4f9 (diff)
downloadstonesense-9e38e139ecce28e6bc316c05eccb28d411cae412.tar.gz
stonesense-9e38e139ecce28e6bc316c05eccb28d411cae412.tar.bz2
stonesense-9e38e139ecce28e6bc316c05eccb28d411cae412.tar.xz
Merge branch 'master' of git://github.com/peterix/stonesense
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 6e8ec83..0819e03 100644
--- a/GUI.cpp
+++ b/GUI.cpp
@@ -457,9 +457,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);