Skip to content

Commit 3e878cc

Browse files
committed
Fix PlayerID 0 Behaving Weirdly
1 parent 460d3d8 commit 3e878cc

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

Classes/bbPlayer.uc

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8419,7 +8419,12 @@ simulated function IGPlus_LocationOffsetFix_Before() {
84198419
IGPlus_LocationOffsetFix_Velocity = Velocity;
84208420
IGPlus_LocationOffsetFix_OnGround = IGPlus_LocationOffsetFix_IsOnGround(IGPlus_LocationOffsetFix_GroundNormal);
84218421

8422-
SetLocation(vect(65535, 65535, 65535) + vect(512.0,512.0,512.0)*PlayerReplicationInfo.PlayerID);
8422+
SetLocation(
8423+
vect(65535, 65535, 65535) + // edge of the playable area
8424+
// Separate players by some distance
8425+
// Guarantee its always outside the playable area (+1)
8426+
vect(512.0,512.0,512.0)*(PlayerReplicationInfo.PlayerID+1)
8427+
);
84238428
Velocity = IGPlus_LocationOffsetFix_DummyVel;
84248429
IGPlus_LocationOffsetFix_SafeLocation = Location;
84258430

0 commit comments

Comments
 (0)