diff --git a/soh/soh/Enhancements/randomizer/draw.cpp b/soh/soh/Enhancements/randomizer/draw.cpp index bd7f92a84c..d1e9db40ee 100644 --- a/soh/soh/Enhancements/randomizer/draw.cpp +++ b/soh/soh/Enhancements/randomizer/draw.cpp @@ -20,6 +20,11 @@ #include "soh_assets.h" #include "soh/Enhancements/cosmetics/cosmeticsTypes.h" +// no idea why this suddently decided it didn't exist on windows +#ifndef M_PI_2 +#define M_PI_2 1.57079632679489661923 +#endif + extern "C" { extern SaveContext gSaveContext; }