mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-09-01 04:01:56 +02:00
Fix crash when stickman goes through a portal
This commit is contained in:
committed by
Simon Robertshaw
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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user