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* pEntityc = INDEXENT2(indexc);
|
||||
CBaseEntity *pCEntity = NULL;
|
||||
pCEntity = CBaseEntity::Instance(INDEXENT2(indexa));
|
||||
pCEntity = (CBaseEntity*)((INDEXENT2(indexa))->pvPrivateData);
|
||||
pCEntity->TakeDamage(VARS(pEntityb),VARS(pEntityc),fnDamage,inType);
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user