diff --git a/SilentPatch/StdAfx.h b/SilentPatch/StdAfx.h index 13b4264..a53c636 100644 --- a/SilentPatch/StdAfx.h +++ b/SilentPatch/StdAfx.h @@ -21,10 +21,3 @@ #include "MemoryMgr.h" #define DISABLE_FLA_DONATION_WINDOW 0 - - -template -inline T random(T a, T b) -{ - return a + static_cast(rand() * (1.0f/(RAND_MAX+1)) * (b - a)); -} \ No newline at end of file