summaryrefslogtreecommitdiff
path: root/src/elements/stkm2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/elements/stkm2.c')
-rw-r--r--src/elements/stkm2.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/elements/stkm2.c b/src/elements/stkm2.c
index b0a2be3..7c02043 100644
--- a/src/elements/stkm2.c
+++ b/src/elements/stkm2.c
@@ -20,6 +20,11 @@ int update_STKM2(UPDATE_FUNC_ARGS) {
if ((parts[i].temp<309.6f) && (parts[i].temp>=243))
parts[i].temp += 1;
+ if (isplayer2) { //Already a stickman2 in the simulation
+ death2 = 1;
+ parts[i].type = PT_NONE;
+ }
+
//Death
if (parts[i].life<1 || death2 || (pv[y/CELL][x/CELL]>=4.5f && player2[2] != SPC_AIR) ) //If his HP is less that 0 or there is very big wind...
{