mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-02-04 17:50:30 +03:00
Engine: Remove inconsistent error path from entity_get_int()
This commit is contained in:
parent
ee0bcc39f1
commit
ff0ca9ba67
@ -609,7 +609,6 @@ static cell AMX_NATIVE_CALL entity_get_int(AMX *amx, cell *params)
|
|||||||
iRetValue = pEnt->v.deadflag;
|
iRetValue = pEnt->v.deadflag;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
MF_LogError(amx, AMX_ERR_NATIVE, "Invalid property %d", idx);
|
|
||||||
return 0;
|
return 0;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -380,8 +380,8 @@ native bool:entity_intersects(entity, other);
|
|||||||
* @param iKey Entry to retrieve from
|
* @param iKey Entry to retrieve from
|
||||||
*
|
*
|
||||||
* @return Value of specified entry
|
* @return Value of specified entry
|
||||||
* @error If an invalid entity index or entry is provided, an error
|
* @error If an invalid entity index is provided, an error will be
|
||||||
* will be thrown.
|
* thrown.
|
||||||
*/
|
*/
|
||||||
native entity_get_int(iIndex, iKey);
|
native entity_get_int(iIndex, iKey);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user