add the bad crack "features" behind SECUROM define

This commit is contained in:
withmorten 2021-01-14 23:16:42 +01:00
parent 0b0d286f5c
commit d5ce8b1ea3
12 changed files with 104 additions and 10 deletions

View file

@ -177,6 +177,10 @@ void CGarages::Update(void)
static uint32 GarageToBeTidied = 0;
if (CReplay::IsPlayingBack())
return;
#ifdef SECUROM
extern uint8 gameProcessPirateCheck;
if (gameProcessPirateCheck == 2) return;
#endif
bCamShouldBeOutisde = false;
TheCamera.pToGarageWeAreIn = nil;
TheCamera.pToGarageWeAreInForHackAvoidFirstPerson = nil;