diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-08-04 13:38:59 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-08-04 13:38:59 (GMT) |
| commit | f32cd872ca2214b670b1ed4efa0b5b12a9c1ed30 (patch) | |
| tree | 1445d323d458bf39fdd61367a53002dea5d82eed /src/simulation/Simulation.cpp | |
| parent | 18e1890590633c2b8b39fb50005f17d1cae7c8dd (diff) | |
| download | powder-f32cd872ca2214b670b1ed4efa0b5b12a9c1ed30.zip powder-f32cd872ca2214b670b1ed4efa0b5b12a9c1ed30.tar.gz | |
Set initial stickman spit element in create_part, fixes the rest of #50
Diffstat (limited to 'src/simulation/Simulation.cpp')
| -rw-r--r-- | src/simulation/Simulation.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/simulation/Simulation.cpp b/src/simulation/Simulation.cpp index 3f2796a..59ff5d1 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 { |
