summaryrefslogtreecommitdiff
path: root/src/simulation/elements/STKM.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-07-25 13:24:03 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-07-25 13:24:03 (GMT)
commit32d9b87f663acf007a2ffb92cec9a4e5f5a6a813 (patch)
treeb4cba6818bc959200bfcac90bdc36afe7383733f /src/simulation/elements/STKM.cpp
parent860fc0d4c9e2761e9047534fa87e8c3f6bbe62e9 (diff)
downloadpowder-32d9b87f663acf007a2ffb92cec9a4e5f5a6a813.zip
powder-32d9b87f663acf007a2ffb92cec9a4e5f5a6a813.tar.gz
Correct Stickman appearance
Diffstat (limited to 'src/simulation/elements/STKM.cpp')
-rw-r--r--src/simulation/elements/STKM.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/simulation/elements/STKM.cpp b/src/simulation/elements/STKM.cpp
index 0a8560a..829dcd3 100644
--- a/src/simulation/elements/STKM.cpp
+++ b/src/simulation/elements/STKM.cpp
@@ -60,8 +60,8 @@ int Element_STKM::update(UPDATE_FUNC_ARGS)
int Element_STKM::graphics(GRAPHICS_FUNC_ARGS)
{
- /**pixel_mode = PSPEC_STICKMAN;
- if ((int)sim->player.elem<PT_NUM)
+ *pixel_mode = PSPEC_STICKMAN;
+ /*if ((int)sim->player.elem<PT_NUM)
{
*colr = PIXR(elements[sim->player.elem].pcolors);
*colg = PIXG(elements[sim->player.elem].pcolors);