Skip to content

Commit

Permalink
we need the fix here too
Browse files Browse the repository at this point in the history
  • Loading branch information
MegAmi24 committed Mar 18, 2023
1 parent c08a97e commit b94f6c0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
6 changes: 5 additions & 1 deletion RSDKv4/Drawing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1230,7 +1230,11 @@ void DrawStageGFX()

DrawObjectList(5);
#if RETRO_REV03
DrawObjectList(7);
#if !RETRO_USE_ORIGINAL_CODE
// Hacky fix for Tails Object not working properly in special stages on non-Origins bytecode
if (!Engine.usingBytecode || GetGlobalVariableByName("NOTIFY_1P_VS_SELECT") != 0)
#endif
DrawObjectList(7);
#endif
DrawObjectList(6);
}
Expand Down
12 changes: 10 additions & 2 deletions RSDKv4/Scene.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,11 @@ void ProcessStage(void)
DrawObjectList(4);
DrawObjectList(5);
#if RETRO_REV03
DrawObjectList(7);
#if !RETRO_USE_ORIGINAL_CODE
// Hacky fix for Tails Object not working properly in special stages on non-Origins bytecode
if (!Engine.usingBytecode || GetGlobalVariableByName("NOTIFY_1P_VS_SELECT") != 0)
#endif
DrawObjectList(7);
#endif
DrawObjectList(6);

Expand Down Expand Up @@ -470,7 +474,11 @@ void ProcessStage(void)
DrawObjectList(4);
DrawObjectList(5);
#if RETRO_REV03
DrawObjectList(7);
#if !RETRO_USE_ORIGINAL_CODE
// Hacky fix for Tails Object not working properly in special stages on non-Origins bytecode
if (!Engine.usingBytecode || GetGlobalVariableByName("NOTIFY_1P_VS_SELECT") != 0)
#endif
DrawObjectList(7);
#endif
DrawObjectList(6);

Expand Down

0 comments on commit b94f6c0

Please sign in to comment.