Skip to content

Commit

Permalink
Merge pull request #616 from pzychotic/fix-442
Browse files Browse the repository at this point in the history
Fix crash when loading multiplayer level
  • Loading branch information
Lgt2x authored Oct 6, 2024
2 parents 7ca92bd + 7ff05cf commit 10c10fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Descent3/Player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1336,7 +1336,7 @@ int PlayerGetRandomStartPosition(int slot) {
room *rp = &Rooms[Players[num].start_roomnum];
objnum = rp->objects;
} else {
objnum = Terrain_seg[Players[num].start_roomnum].objects;
objnum = Terrain_seg[CELLNUM(Players[num].start_roomnum)].objects;
}
int bad = 0;
for (; objnum != -1 && !bad; objnum = Objects[objnum].next) {
Expand Down

0 comments on commit 10c10fb

Please sign in to comment.