Update CRadar.cpp, CHud.cpp, CDraw.cpp fixed bug in templates.h.

This commit is contained in:
_AG
2019-06-20 02:31:03 +02:00
parent f4146d39a2
commit 2ce7bcc405
16 changed files with 766 additions and 258 deletions

View File

@@ -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);