Skip to content

Commit

Permalink
4pcoop: fixup solo / coop picking for head / body determination
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonNyan committed May 27, 2024
1 parent 8f5be8d commit db0a202
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/player.c
Original file line number Diff line number Diff line change
Expand Up @@ -1207,7 +1207,7 @@ void playerChooseBodyAndHead(s32 *bodynum, s32 *headnum, s32 *arg2)
}

outfit = g_Vars.currentplayer->bondtype;
solo = !(g_Vars.coopplayernum >= 0) || (g_Vars.currentplayer != g_Vars.coop);
solo = (!g_Vars.coopplayers[g_Vars.currentplayernum] || g_Vars.coopplayers[g_Vars.currentplayernum] == g_Vars.bond);

if (cheatIsActive(CHEAT_PLAYASELVIS)) {
*bodynum = BODY_THEKING;
Expand Down

0 comments on commit db0a202

Please sign in to comment.