From f73d936398771e30fee5d478acbf577263f131da Mon Sep 17 00:00:00 2001 From: simon Date: Mon, 26 Apr 2010 15:24:04 +0200 Subject: [PATCH] Printing mood modifiers as signed ints is more user friendly --- examples/creaturedump.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/creaturedump.cpp b/examples/creaturedump.cpp index db071c2e7..2b64d035d 100644 --- a/examples/creaturedump.cpp +++ b/examples/creaturedump.cpp @@ -280,7 +280,7 @@ void printCreature(DFHack::API & DF, const DFHack::t_creature & creature) maintype = (char*)"????"; break; } - printf("\t%s\t%.4x %.4x\n", maintype, mat[i].typeB, mat[i].typeC); + printf("\t%s\t%d %d\n", maintype, mat[i].typeB, mat[i].typeC); } } }