Consistency: Replace GETEDICT with HLTypeConversion in core

This commit is contained in:
Arkshine
2015-10-07 22:31:01 +02:00
parent b65a0600ee
commit 9bee1f7edf
7 changed files with 13 additions and 8 deletions

View File

@@ -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;
}