summaryrefslogtreecommitdiffstats
path: root/src/templates.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-06-30 13:03:04 +0200
committerGitHub <noreply@github.com>2019-06-30 13:03:04 +0200
commitffb9fe188c6c58e22683dbc669c1e142a2feb166 (patch)
tree7e3436ed3945245fca67127d00e0ccfee6d31239 /src/templates.h
parentfix (diff)
parentPlayBackThisFrameInterpolation and all it required... (diff)
downloadre3-ffb9fe188c6c58e22683dbc669c1e142a2feb166.tar
re3-ffb9fe188c6c58e22683dbc669c1e142a2feb166.tar.gz
re3-ffb9fe188c6c58e22683dbc669c1e142a2feb166.tar.bz2
re3-ffb9fe188c6c58e22683dbc669c1e142a2feb166.tar.lz
re3-ffb9fe188c6c58e22683dbc669c1e142a2feb166.tar.xz
re3-ffb9fe188c6c58e22683dbc669c1e142a2feb166.tar.zst
re3-ffb9fe188c6c58e22683dbc669c1e142a2feb166.zip
Diffstat (limited to 'src/templates.h')
-rw-r--r--src/templates.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/templates.h b/src/templates.h
index 7ed7043e..ef2db33a 100644
--- a/src/templates.h
+++ b/src/templates.h
@@ -60,7 +60,7 @@ public:
return (T*)&m_entries[m_allocPtr];
}
T *New(int handle){
- T *entry = (T*)m_entries[handle>>8];
+ T *entry = (T*)&m_entries[handle>>8];
SetNotFreeAt(handle);
return entry;
}