From f32cd872ca2214b670b1ed4efa0b5b12a9c1ed30 Mon Sep 17 00:00:00 2001 From: Simon Robertshaw Date: Sat, 4 Aug 2012 14:38:59 +0100 Subject: [PATCH] Set initial stickman spit element in create_part, fixes the rest of #50 --- src/simulation/Simulation.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/simulation/Simulation.cpp b/src/simulation/Simulation.cpp index 3f2796aef..59ff5d11c 100644 --- a/src/simulation/Simulation.cpp +++ b/src/simulation/Simulation.cpp @@ -2777,6 +2777,7 @@ int Simulation::create_part(int p, int x, int y, int tv)//the function for creat parts[i].temp = elements[t].Temperature; Element_STKM::STKM_init_legs(this, &player, i); player.spwn = 1; + player.elem = PT_DUST; } else { @@ -2798,6 +2799,7 @@ int Simulation::create_part(int p, int x, int y, int tv)//the function for creat parts[i].temp = elements[t].Temperature; Element_STKM::STKM_init_legs(this, &player2, i); player2.spwn = 1; + player2.elem = PT_DUST; } else {