mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-01-23 20:28:03 +03:00
fixed building in debug mode issues
This commit is contained in:
parent
891be11032
commit
980ccfddf5
@ -912,7 +912,7 @@ static cell AMX_NATIVE_CALL take_damage(AMX *amx, cell *params)
|
|||||||
edict_t* pEntityb = INDEXENT2(indexb);
|
edict_t* pEntityb = INDEXENT2(indexb);
|
||||||
edict_t* pEntityc = INDEXENT2(indexc);
|
edict_t* pEntityc = INDEXENT2(indexc);
|
||||||
CBaseEntity *pCEntity = NULL;
|
CBaseEntity *pCEntity = NULL;
|
||||||
pCEntity = CBaseEntity::Instance(INDEXENT2(indexa));
|
pCEntity = (CBaseEntity*)((INDEXENT2(indexa))->pvPrivateData);
|
||||||
pCEntity->TakeDamage(VARS(pEntityb),VARS(pEntityc),fnDamage,inType);
|
pCEntity->TakeDamage(VARS(pEntityb),VARS(pEntityc),fnDamage,inType);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user