mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-25 18:46:52 +01:00
Fix bug in templates.h, again.
This commit is contained in:
parent
ef8e9e7f1b
commit
30d52079a4
@ -82,8 +82,8 @@ public:
|
||||
return m_flags[i].free ? nil : (T*)&m_entries[i];
|
||||
}
|
||||
T *GetAt(int handle){
|
||||
return m_flags[handle>>8].u == handle & 0xFF ?
|
||||
nil : (T*)&m_entries[handle >> 8];
|
||||
return m_flags[handle>>8].u == (handle & 0xFF) ?
|
||||
(T*)&m_entries[handle >> 8] : nil;
|
||||
}
|
||||
int GetIndex(T *entry){
|
||||
int i = GetJustIndex(entry);
|
||||
|
Loading…
Reference in New Issue
Block a user