Few short notes:
Quote:
Originally Posted by Swixel
PHP Code:
cv_FF = g_pCVar->FindVar("mp_friendlyfire");
|
Make sure to check this isn't NULL.
I have had some really nasty crashes forgetting that in the past, even for valve cvars that should be there for sure.
Quote:
Originally Posted by Swixel
PHP Code:
uradetour->Destroy();
|
Probably meant DisableDetour() here, destroy would free the CDetour structure, requiring you to call CreateDetour again
__________________