mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-15 17:24:08 +00:00
fixes
This commit is contained in:
parent
df376a13ea
commit
7e4c683824
5 changed files with 7 additions and 9 deletions
|
@ -644,4 +644,4 @@ public:
|
|||
static_assert(sizeof(CMenuManager) == 0x564, "CMenuManager: error");
|
||||
|
||||
extern CMenuManager FrontEndMenuManager;
|
||||
extern DWORD _dwOperatingSystemVersion;
|
||||
extern unsigned long _dwOperatingSystemVersion;
|
|
@ -104,6 +104,10 @@ public:
|
|||
return m_flags[i].free ? nil : (T*)&m_entries[i];
|
||||
}
|
||||
T *GetAt(int handle){
|
||||
#ifdef FIX_BUGS
|
||||
if (handle == -1)
|
||||
return nil;
|
||||
#endif
|
||||
return m_flags[handle>>8].u == (handle & 0xFF) ?
|
||||
(T*)&m_entries[handle >> 8] : nil;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue