Skip to content

Commit

Permalink
Fixed self.origin on GruntGrenadeFire
Browse files Browse the repository at this point in the history
Closes #11
  • Loading branch information
dumptruckDS committed Nov 14, 2023
1 parent fb79f3b commit d242b84
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions qc/soldier.qc
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ void() GruntFireGrenade =
}

setsize (missile, '0 0 0', '0 0 0');
setorigin (missile, self.origin + v_forward * 30 + v_right * 5 + '0 0 16'); //dumptruck_ds
setorigin (missile, self.origin); //dumptruck_ds
};

/*
Expand Down Expand Up @@ -219,11 +219,11 @@ void() army_atk4 =[ $shoot4, army_atk5 ] {ai_face();};
void() army_atk5 ={
self.frame = $shoot5;
self.nextthink = time + .1;
if (self.style == 5 && self.count < self.t_length)
if (self.style == 5 && self.count < self.t_length)
{
self.count +=1;
}
else
else
{
self.think = army_atk6;
}
Expand All @@ -243,11 +243,11 @@ void() army_turret_atk4 =[ $shoot4, army_turret_atk5 ] {ai_face();self.attack_el
void() army_turret_atk5 ={
self.frame = $shoot5;
self.nextthink = time + .1;
if (self.style == 5 && self.count < self.t_length)
if (self.style == 5 && self.count < self.t_length)
{
self.count +=1;
}
else
else
{
self.think = army_turret_atk6;
}
Expand Down

0 comments on commit d242b84

Please sign in to comment.