ItemSpawn: Oops

This commit is contained in:
zaCade 2018-08-07 23:23:03 +02:00
parent a56a28e95b
commit 8ddfc4c296

View File

@ -243,7 +243,7 @@ public void SpawnBalrog(float fOrigin[3])
ParentToEntity(iRelayAttack, iKnife);
// logic_relay death.
int iRelayDeath = CreateEntityAtOrigin("logic_compare", fOrigin);
int iRelayDeath = CreateEntityAtOrigin("logic_relay", fOrigin);
DispatchKeyFormat(iRelayDeath, "targetname", "item_balrog_death_%d", g_iCounter);
DispatchKeyFormat(iRelayDeath, "spawnflags", "0");
DispatchKeyFormat(iRelayDeath, "OnTrigger", "!self,FireUser1,,0.1,-1");