scpcb icon indicating copy to clipboard operation
scpcb copied to clipboard

Fixes to 049

Open ChronoQuote opened this issue 2 years ago • 0 comments

31d2f8ff13d95feecc11c910de7dcbb0847eee33 Fix 049 teleporting to player room

There's a block of code in UpdateNPCs that would teleport 049 to a room adjacent to a room adjacent to the player room. Well, the player room itself is a room adjacent to a room adjacent to the player room. See commit for more info.

55c6f817fe99315312053944b3fb2e5e088c3b86 Fix 049 appearing on blue NVG interface while idle

When 049 is idle, the game positions his collider to 0,-500,0, but because ResetEntity isn't called, his collider collides with the floor and remains above ground while his model successfully goes below ground because it has no collision. This results in 049's collider showing up on the blue NVG interface even though he is idle and his model can't be seen. See commit for more info.

ChronoQuote avatar Oct 08 '22 12:10 ChronoQuote