summaryrefslogtreecommitdiff
path: root/src/simulation
diff options
context:
space:
mode:
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);