Set initial stickman spit element in create_part, fixes the rest of #50

This commit is contained in:
Simon Robertshaw 2012-08-04 14:38:59 +01:00
parent 18e1890590
commit f32cd872ca

View File

@ -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
{