diff options
author | withmorten <morten.with@gmail.com> | 2021-01-14 23:16:42 +0100 |
---|---|---|
committer | withmorten <morten.with@gmail.com> | 2021-01-14 23:16:42 +0100 |
commit | d5ce8b1ea3359ad5518e724e32a76ba32be1586b (patch) | |
tree | b4e48a02501378e10008853e61379449c69c0a1d /src/control/PathFind.cpp | |
parent | incoming "fuck" commit (diff) | |
download | re3-d5ce8b1ea3359ad5518e724e32a76ba32be1586b.tar re3-d5ce8b1ea3359ad5518e724e32a76ba32be1586b.tar.gz re3-d5ce8b1ea3359ad5518e724e32a76ba32be1586b.tar.bz2 re3-d5ce8b1ea3359ad5518e724e32a76ba32be1586b.tar.lz re3-d5ce8b1ea3359ad5518e724e32a76ba32be1586b.tar.xz re3-d5ce8b1ea3359ad5518e724e32a76ba32be1586b.tar.zst re3-d5ce8b1ea3359ad5518e724e32a76ba32be1586b.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 |