From 2ce7bcc405daf1b01f9220e7b584bc7c318ec5cd Mon Sep 17 00:00:00 2001 From: _AG Date: Thu, 20 Jun 2019 02:31:03 +0200 Subject: Update CRadar.cpp, CHud.cpp, CDraw.cpp fixed bug in templates.h. --- src/templates.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/templates.h') 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); -- cgit v1.2.3