equal
deleted
inserted
replaced
198 x,y = GetGearPosition(CurrentHedgehog) |
198 x,y = GetGearPosition(CurrentHedgehog) |
199 color = GetClanColor(GetHogClan(CurrentHedgehog)) |
199 color = GetClanColor(GetHogClan(CurrentHedgehog)) |
200 end |
200 end |
201 |
201 |
202 for w,c in pairs(wepArray) do |
202 for w,c in pairs(wepArray) do |
203 val = getGearValue(gear,w) |
203 local val = getGearValue(gear,w) |
204 if val ~= 0 and (multiUse or (wepArray[w] ~= 9 and getGearValue(CurrentHedgehog, w) == 0)) then |
204 if val ~= 0 and (multiUse or (wepArray[w] ~= 9 and getGearValue(CurrentHedgehog, w) == 0)) then |
205 setGearValue(CurrentHedgehog, w, val) |
205 setGearValue(CurrentHedgehog, w, val) |
206 |
206 |
207 -- if you are using multi-shot weapon, gimme one more |
207 -- if you are using multi-shot weapon, gimme one more |
208 if (GetCurAmmoType() == w) and (shotsFired ~= 0) then |
208 if (GetCurAmmoType() == w) and (shotsFired ~= 0) then |