mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-24 13:55:36 +03:00
Bad merge!
This commit is contained in:
parent
ae01b71078
commit
4112c78c11
@ -192,7 +192,6 @@ static cell AMX_NATIVE_CALL give_item(AMX *amx, cell *params) // native give_ite
|
|||||||
// Check index.
|
// Check index.
|
||||||
if (params[1] < 1 || params[1] > gpGlobals->maxClients)
|
if (params[1] < 1 || params[1] > gpGlobals->maxClients)
|
||||||
{
|
{
|
||||||
MF_Log("Failed at first check. Param: %d", params[1]);
|
|
||||||
MF_RaiseAmxError(amx, AMX_ERR_NATIVE);
|
MF_RaiseAmxError(amx, AMX_ERR_NATIVE);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@ -202,7 +201,6 @@ static cell AMX_NATIVE_CALL give_item(AMX *amx, cell *params) // native give_ite
|
|||||||
|
|
||||||
// Check entity validity
|
// Check entity validity
|
||||||
if (FNullEnt(pPlayer)) {
|
if (FNullEnt(pPlayer)) {
|
||||||
MF_Log("Failed at second check. Param: %p", pPlayer);
|
|
||||||
MF_RaiseAmxError(amx, AMX_ERR_NATIVE);
|
MF_RaiseAmxError(amx, AMX_ERR_NATIVE);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -30,7 +30,6 @@
|
|||||||
* you do not wish to do so, delete this exception statement from your
|
* you do not wish to do so, delete this exception statement from your
|
||||||
* version.
|
* version.
|
||||||
*/
|
*/
|
||||||
#define SMALL_CELL_SIZE 64
|
|
||||||
#include "amxxmodule.h"
|
#include "amxxmodule.h"
|
||||||
|
|
||||||
// Fun-specific defines below
|
// Fun-specific defines below
|
||||||
|
Loading…
Reference in New Issue
Block a user