Consistency: Replace GETEDICT with HLTypeConversion in core
This commit is contained in:
@@ -423,7 +423,7 @@ static cell _message_begin(AMX *amx, cell *params, bool useFloat) /* 4 param */
|
||||
return 0;
|
||||
}
|
||||
|
||||
MESSAGE_BEGIN(params[1], params[2], NULL, GETEDICT(params[4]));
|
||||
MESSAGE_BEGIN(params[1], params[2], NULL, TypeConversion.id_to_edict(params[4]));
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -771,7 +771,7 @@ static cell _emessage_begin(AMX *amx, cell *params, bool useFloat)
|
||||
return 0;
|
||||
}
|
||||
|
||||
g_pEngTable->pfnMessageBegin(params[1], params[2], NULL, GETEDICT(params[4]));
|
||||
g_pEngTable->pfnMessageBegin(params[1], params[2], NULL, TypeConversion.id_to_edict(params[4]));
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user