diff --git a/src/g_game.c b/src/g_game.c index e2f43e4f2..137992e4d 100644 --- a/src/g_game.c +++ b/src/g_game.c @@ -2803,7 +2803,7 @@ void G_AddPlayer(INT32 playernum) countplayers++; - if (!players->exiting) + if (!players[i].exiting) notexiting++; if (!(cv_coopstarposts.value && (gametype == GT_COOP) && (p->starpostnum < players[i].starpostnum))) diff --git a/src/p_inter.c b/src/p_inter.c index 9017f795d..b4a16ba84 100644 --- a/src/p_inter.c +++ b/src/p_inter.c @@ -633,7 +633,7 @@ void P_TouchSpecialThing(mobj_t *special, mobj_t *toucher, boolean heightcheck) if (!(netgame || multiplayer)) { player->continues += 1; - players->gotcontinue = true; + player->gotcontinue = true; if (P_IsLocalPlayer(player)) S_StartSound(NULL, sfx_s3kac); else diff --git a/src/p_map.c b/src/p_map.c index 33ac20265..bb56a50b1 100644 --- a/src/p_map.c +++ b/src/p_map.c @@ -540,7 +540,7 @@ static void P_DoFanAndGasJet(mobj_t *spring, mobj_t *object) static void P_DoPterabyteCarry(player_t *player, mobj_t *ptera) { - if (player->powers[pw_carry] && players->powers[pw_carry] != CR_ROLLOUT) + if (player->powers[pw_carry] && player->powers[pw_carry] != CR_ROLLOUT) return; if (ptera->extravalue1 != 1) return; // Not swooping