partial void pOnEndPos() { if (DoHitDetection(BaseInst.LastPosition, Destination)) { return; } ItemInst item = this.Item; if (item != null) { item.Spawn(this.World, this.Destination, this.GetAngles()); this.World.DespawnList_PItems.AddVob(item); } }
void DropItem(ItemInst item, Vec3f position, Angles angles) { item.Spawn(this.World, position, angles); item.BaseInst.SetNeedsClientGuide(true); item.Throw(Vec3f.Null); }