Disable TrueInvicibility in SAMP

This commit is contained in:
Silent 2019-05-18 11:10:40 +02:00
parent 21d6ed5cc3
commit 60c4eb3b66
No known key found for this signature in database
GPG Key ID: AE53149BB0C45AF1

View File

@ -2829,7 +2829,7 @@ BOOL InjectDelayedPatches_10()
}
// True invicibility - not being hurt by Police Maverick bullets anymore
if ( const int INIoption = GetPrivateProfileIntW(L"SilentPatch", L"TrueInvicibility", -1, wcModulePath); INIoption != -1 )
if ( const int INIoption = GetPrivateProfileIntW(L"SilentPatch", L"TrueInvicibility", -1, wcModulePath); INIoption != -1 && !bSAMP )
{
using namespace TrueInvicibility;