while (ent)
{
// get the details we need to call the damage function
hitloc = ent.railgunhitloc;
ent.railgunhitloc = '0 0 0';
ent.railgunhitsolidbackup = SOLID_NOT;
while (ent)
{
// get the details we need to call the damage function
hitloc = ent.railgunhitloc;
ent.railgunhitloc = '0 0 0';
ent.railgunhitsolidbackup = SOLID_NOT;