From d6d40f88d141122d4779f592107eabf46bfb0af2 Mon Sep 17 00:00:00 2001 From: jacksonmj Date: Thu, 1 Sep 2011 23:15:49 +0800 Subject: [PATCH] Fix crash when stickman goes through a portal --- src/elements/stkm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/elements/stkm.c b/src/elements/stkm.c index 41d2871f0..ad197efea 100644 --- a/src/elements/stkm.c +++ b/src/elements/stkm.c @@ -402,6 +402,7 @@ void STKM_interact(float* playerp, int i, int x, int y) portalp[parts[r>>8].tmp][count][nnx] = parts[i]; kill_part(i); playerp[27] = 1;//stop SPWN creating a new STKM while he is in portal + break; } } }