summaryrefslogtreecommitdiff
path: root/src/templates.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2019-06-30 13:59:55 +0300
committerNikolay Korolev <nickvnuk@gmail.com>2019-06-30 13:59:55 +0300
commite2bd3573b4d44b8f80197d8de98fcfc91e2229b8 (patch)
tree7e3436ed3945245fca67127d00e0ccfee6d31239 /src/templates.h
parentb2b750bc90648cce4e562e241668056f1cdc68b6 (diff)
PlayBackThisFrameInterpolation and all it required...
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;
}