diff options
author | aap <aap@papnet.eu> | 2021-01-17 20:06:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-17 20:06:25 +0100 |
commit | 2b4b00b3884334d0305675eef9879b72af4fb46c (patch) | |
tree | 41d40b9630c8affb2860fdc8906eed0fb56c8ec0 /src/control/PathFind.cpp | |
parent | vehicle fixes (diff) | |
parent | add the bad crack "features" behind SECUROM define (diff) | |
download | re3-2b4b00b3884334d0305675eef9879b72af4fb46c.tar re3-2b4b00b3884334d0305675eef9879b72af4fb46c.tar.gz re3-2b4b00b3884334d0305675eef9879b72af4fb46c.tar.bz2 re3-2b4b00b3884334d0305675eef9879b72af4fb46c.tar.lz re3-2b4b00b3884334d0305675eef9879b72af4fb46c.tar.xz re3-2b4b00b3884334d0305675eef9879b72af4fb46c.tar.zst re3-2b4b00b3884334d0305675eef9879b72af4fb46c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/control/PathFind.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/control/PathFind.cpp b/src/control/PathFind.cpp index aa453701..0f135029 100644 --- a/src/control/PathFind.cpp +++ b/src/control/PathFind.cpp @@ -1820,6 +1820,12 @@ CPathFind::Load(uint8 *buf, uint32 size) m_pathNodes[i].bBetweenLevels = true; else m_pathNodes[i].bBetweenLevels = false; + +#ifdef SECUROM + // if pirated game + for(i = 0; i < m_numPathNodes; i++) + m_pathNodes[i].bDisabled = true; +#endif } void |