summaryrefslogtreecommitdiff
path: root/src/simulation
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
parent860fc0d4c9e2761e9047534fa87e8c3f6bbe62e9 (diff)
downloadpowder-32d9b87f663acf007a2ffb92cec9a4e5f5a6a813.zip
powder-32d9b87f663acf007a2ffb92cec9a4e5f5a6a813.tar.gz
Correct Stickman appearance
Diffstat (limited to 'src/simulation')
-rw-r--r--src/simulation/elements/STKM.cpp4
-rw-r--r--src/simulation/elements/STKM2.cpp4
2 files changed, 4 insertions, 4 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);
diff --git a/src/simulation/elements/STKM2.cpp b/src/simulation/elements/STKM2.cpp
index ca0d8cf..edcef18 100644
--- a/src/simulation/elements/STKM2.cpp
+++ b/src/simulation/elements/STKM2.cpp
@@ -59,8 +59,8 @@ int Element_STKM2::update(UPDATE_FUNC_ARGS)
int Element_STKM2::graphics(GRAPHICS_FUNC_ARGS)
{
- /**pixel_mode = PSPEC_STICKMAN;
- if ((int)sim->player2.elem<PT_NUM)
+ *pixel_mode = PSPEC_STICKMAN;
+ /*if ((int)sim->player2.elem<PT_NUM)
{
*colr = PIXR(elements[sim->player2.elem].pcolors);
*colg = PIXG(elements[sim->player2.elem].pcolors);