Fix crash when stickman goes through a portal
This commit is contained in:
parent
180d3ea60f
commit
d6d40f88d1
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user