//hns was not made by me, look at credinfo in hnsv1.pk3 for the credits

//this is a patch to fix gib lag

actor patchHumangibs replaces HumanGibs
{
  +NOGRAVITY
  +NOBLOCKMAP
  +DONTSPLASH
  +NOINTERACTION
  States
  {
  Spawn:
    TNT1 A 1
    Stop
  }
}

actor patchTerminatorGibs : patchHumangibs replaces TerminatorGibs
{
}

actor patchBlueHumanGibs : patchHumangibs replaces BlueHumanGibs
{
}

actor patchHeadGib : HeadGib replaces HeadGib
{
  states
  {
    Spawn:
      HDGB A 0
      HDGB A 0 A_NoBlocking
      HDGB A 5 ThrustThing (random(0,255),random(1,10))
      HDGB A 5 ThrustThingZ (0,random(15,50),0,0)
      HDGB A 5
      goto Spawn+4
    Crash:
      HDGB B 0 A_PlaySoundEx ("splash/gibs",0)
	  HDGB B 0 A_SpawnItemEx ("HeadGibRemnant",0,0,0,0,0,0,0,129)
      TNT1 Z -1
      stop
  }
}

actor patchBlueHeadGib : patchHeadGib replaces BlueHeadGib
{
}
