Engine: Remove inconsistent error path from entity_get_int()
This commit is contained in:
1 parent
ee0bcc39f1
commit
ff0ca9ba67
2 files changed
+2
-3
No files matched your search
@@ -609,7 +609,6 @@ static cell AMX_NATIVE_CALL entity_get_int(AMX *amx, cell *params)
|
||||
iRetValue = pEnt->v.deadflag;
|
||||
break;
|
||||
default:
|
||||
MF_LogError(amx, AMX_ERR_NATIVE, "Invalid property %d", idx);
|
||||
return 0;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user