mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-24 13:55:36 +03:00
modules with old interface don't load if SMALL_CELL_SIZE is 64. Reason: float/cell conversions.
This commit is contained in:
parent
7aa98c9038
commit
de5bdad8de
@ -271,6 +271,11 @@ bool CModule::queryModule()
|
||||
}
|
||||
else
|
||||
{
|
||||
// old interface not 64 bit compatible
|
||||
#if SMALL_CELL_SIZE == 64
|
||||
m_Status = MODULE_NOT64BIT;
|
||||
return false;
|
||||
#else
|
||||
// Try old interface
|
||||
QUERYMOD queryFunc_Old = (QUERYMOD)DLPROC(m_Handle,"AMX_Query"); // check what version
|
||||
if (!queryFunc_Old)
|
||||
@ -303,6 +308,7 @@ bool CModule::queryModule()
|
||||
m_InfoOld->serial = (long int)this;
|
||||
m_Status = MODULE_QUERY;
|
||||
return true;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user