diff --git a/SilentPatchIII/SilentPatchIII.cpp b/SilentPatchIII/SilentPatchIII.cpp index e258231..7effa39 100644 --- a/SilentPatchIII/SilentPatchIII.cpp +++ b/SilentPatchIII/SilentPatchIII.cpp @@ -1027,7 +1027,7 @@ namespace SlidingTextsScalingFixes static inline float** pHorShadowValue; template - static void (*orgPrintString)(float,float,const wchar_t*); + static inline void (*orgPrintString)(float,float,const wchar_t*); template static void PrintString_Slide(float fX, float fY, const wchar_t* pText) @@ -1054,7 +1054,7 @@ namespace SlidingTextsScalingFixes static inline bool bSlidingEnabled = false; template - static void (*orgPrintString)(float,float,const wchar_t*); + static inline void (*orgPrintString)(float,float,const wchar_t*); template static void PrintString_Slide(float fX, float fY, const wchar_t* pText) diff --git a/SilentPatchVC/SilentPatchVC.cpp b/SilentPatchVC/SilentPatchVC.cpp index 47a14ee..afe094a 100644 --- a/SilentPatchVC/SilentPatchVC.cpp +++ b/SilentPatchVC/SilentPatchVC.cpp @@ -356,7 +356,7 @@ namespace RadarTraceOutlineFixes } template - static void (*orgShowRadarTraceWithHeight)(float, float, unsigned int, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char); + static inline void (*orgShowRadarTraceWithHeight)(float, float, unsigned int, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char); template static void ShowRadarTraceWithHeight_RecalculatePositions(float a1, float a2, unsigned int a3, unsigned char a4, unsigned char a5, unsigned char a6, unsigned char a7, unsigned char a8) @@ -456,7 +456,7 @@ namespace SlidingTextsScalingFixes static inline bool bSlidingEnabled = false; template - static void (*orgPrintString)(float,float,const wchar_t*); + static inline void (*orgPrintString)(float,float,const wchar_t*); template static void PrintString_Slide(float fX, float fY, const wchar_t* pText) @@ -466,7 +466,7 @@ namespace SlidingTextsScalingFixes } template - static void (*orgSetRightJustifyWrap)(float wrap); + static inline void (*orgSetRightJustifyWrap)(float wrap); template static void SetRightJustifyWrap_Slide(float wrap) @@ -483,7 +483,7 @@ namespace SlidingTextsScalingFixes static inline bool bSlidingEnabled = false; template - static void (*orgPrintString)(float,float,const wchar_t*); + static inline void (*orgPrintString)(float,float,const wchar_t*); template static void PrintString_Slide(float fX, float fY, const wchar_t* pText)