From 6681fe536b5709310333268ff19b77d48d390b11 Mon Sep 17 00:00:00 2001 From: Agent X <44549182+Agent-11@users.noreply.github.com> Date: Thu, 7 Mar 2024 19:05:31 -0500 Subject: [PATCH] Make DynOS warp bug fix only work with coop compatibility off --- data/dynos_warps.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/dynos_warps.cpp b/data/dynos_warps.cpp index f1b3cd6f..55e895d4 100644 --- a/data/dynos_warps.cpp +++ b/data/dynos_warps.cpp @@ -221,7 +221,7 @@ static void *DynOS_Warp_UpdateWarp(void *aCmd, bool aIsLevelInitDone) { gMarioSpawnInfo->startPos[1] = _Warp[4]; gMarioSpawnInfo->startPos[2] = _Warp[5] + (sDynosWarpSpawnType == MARIO_SPAWN_DOOR_WARP) * 300.0f * coss(_Warp[6]); gMarioSpawnInfo->startAngle[0] = 0; - gMarioSpawnInfo->startAngle[1] = _Warp[6] + (gCurrLevelNum == LEVEL_CASTLE_GROUNDS && DynOS_Level_IsVanillaLevel(LEVEL_CASTLE_GROUNDS) ? 0x8000 : 0); + gMarioSpawnInfo->startAngle[1] = _Warp[6] + (!configCoopCompatibility && gCurrLevelNum == LEVEL_CASTLE_GROUNDS && DynOS_Level_IsVanillaLevel(LEVEL_CASTLE_GROUNDS) ? 0x8000 : 0); gMarioSpawnInfo->startAngle[2] = 0; gMarioSpawnInfo->areaIndex = gCurrAreaIndex; init_mario();