diff options
author | _AG <gennariarmando@outlook.com> | 2019-06-20 02:31:03 +0200 |
---|---|---|
committer | _AG <gennariarmando@outlook.com> | 2019-06-20 02:32:36 +0200 |
commit | 2ce7bcc405daf1b01f9220e7b584bc7c318ec5cd (patch) | |
tree | 4cbfefeedd462f46b29d4b1c9004f17eefebc364 /src/templates.h | |
parent | finally finished CVehicleModelInfo (diff) | |
download | re3-2ce7bcc405daf1b01f9220e7b584bc7c318ec5cd.tar re3-2ce7bcc405daf1b01f9220e7b584bc7c318ec5cd.tar.gz re3-2ce7bcc405daf1b01f9220e7b584bc7c318ec5cd.tar.bz2 re3-2ce7bcc405daf1b01f9220e7b584bc7c318ec5cd.tar.lz re3-2ce7bcc405daf1b01f9220e7b584bc7c318ec5cd.tar.xz re3-2ce7bcc405daf1b01f9220e7b584bc7c318ec5cd.tar.zst re3-2ce7bcc405daf1b01f9220e7b584bc7c318ec5cd.zip |
Diffstat (limited to '')
-rw-r--r-- | src/templates.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/templates.h b/src/templates.h index 3ac0bc90..82a94506 100644 --- a/src/templates.h +++ b/src/templates.h @@ -83,7 +83,7 @@ public: } T *GetAt(int handle){ return m_flags[handle>>8].u == handle & 0xFF ? - (T*)&m_entries[handle>>8] : nil; + nil : (T*)&m_entries[handle >> 8]; } int GetIndex(T *entry){ int i = GetJustIndex(entry); |