Fix crash when stickman goes through a portal

This commit is contained in:
jacksonmj 2011-09-01 23:15:49 +08:00 committed by Simon Robertshaw
parent 180d3ea60f
commit d6d40f88d1

View File

@ -402,6 +402,7 @@ void STKM_interact(float* playerp, int i, int x, int y)
portalp[parts[r>>8].tmp][count][nnx] = parts[i]; portalp[parts[r>>8].tmp][count][nnx] = parts[i];
kill_part(i); kill_part(i);
playerp[27] = 1;//stop SPWN creating a new STKM while he is in portal playerp[27] = 1;//stop SPWN creating a new STKM while he is in portal
break;
} }
} }
} }