angelscript: don't use deprecated GetParamTypeId
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
This commit is contained in:
parent
0ca0b21327
commit
65c25065ee
@ -1496,7 +1496,8 @@ void CScriptArray::Precache()
|
||||
continue;
|
||||
|
||||
// The parameter must either be a reference to the subtype or a handle to the subtype
|
||||
int paramTypeId = func->GetParamTypeId(0, &flags);
|
||||
int paramTypeId;
|
||||
func->GetParam(0, ¶mTypeId, &flags, NULL, NULL);
|
||||
|
||||
if( (paramTypeId & ~(asTYPEID_OBJHANDLE|asTYPEID_HANDLETOCONST)) != (subTypeId & ~(asTYPEID_OBJHANDLE|asTYPEID_HANDLETOCONST)) )
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user