diff --git a/plugins/include/engine_stocks.inc b/plugins/include/engine_stocks.inc index f8d9987e..54e04717 100755 --- a/plugins/include/engine_stocks.inc +++ b/plugins/include/engine_stocks.inc @@ -25,7 +25,7 @@ stock fakedamage(idvictim,szClassname[],Float:takedmgdamage,damagetype) format(szDamage,15,"%i",damagetype) DispatchKeyValue(entity,"damagetype",szDamage) DispatchKeyValue(entity,"origin","8192 8192 8192") - spawn(entity) + DispatchSpawn(entity) entity_set_string(entity, EV_SZ_classname, szClassname) fake_touch(entity,idvictim) remove_entity(entity)