summaryrefslogtreecommitdiff
path: root/src/elements/stkm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/elements/stkm.c')
-rw-r--r--src/elements/stkm.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/elements/stkm.c b/src/elements/stkm.c
index 08cb1ba..d8286d5 100644
--- a/src/elements/stkm.c
+++ b/src/elements/stkm.c
@@ -451,7 +451,10 @@ void STKM_interact(playerst* playerp, int i, int x, int y)
{
portalp[parts[r>>8].tmp][count][nnx] = parts[i];
kill_part(i);
- playerp->spwn = 1;//stop SPWN creating a new STKM while he is in portal
+ //stop new STKM/fighters being created to replace the ones in the portal:
+ playerp->spwn = 1;
+ if (portalp[parts[r>>8].tmp][count][nnx].type==PT_FIGH)
+ fighcount++;
break;
}
}