Block Lightsnake: unfuck build

This commit is contained in:
AJ Martinez 2023-10-17 20:37:13 -07:00
parent 38aa1f9d6b
commit 218fc1aeb3

View file

@ -413,7 +413,7 @@ static void K_MovePlayerToRespawnPoint(player_t *player)
{
size_t nwp = K_NextRespawnWaypointIndex(player->respawn.wp);
if (nwp == SIZE_MAX || nextwaypoints[nwp]->mobj->movefactor) // movefactor: Block Lightsnake
if (nwp == SIZE_MAX || player->respawn.wp->nextwaypoints[nwp]->mobj->movefactor) // movefactor: Block Lightsnake
{
player->respawn.state = RESPAWNST_DROP;
return;