equal
deleted
inserted
replaced
3339 -- i.e mine, sticky mine, barrels |
3339 -- i.e mine, sticky mine, barrels |
3340 -- health/weapon/utility crate, placement of gears |
3340 -- health/weapon/utility crate, placement of gears |
3341 --------------------------------------------------------- |
3341 --------------------------------------------------------- |
3342 function onUp() |
3342 function onUp() |
3343 |
3343 |
3344 if (curWep ~= amGirder) then |
3344 if (curWep == amAirAttack) then |
3345 cIndex = cIndex - 1 |
3345 cIndex = cIndex - 1 |
3346 if (cIndex == 1) or (cIndex == 2) then --1 --we no longer hit girder by normal means |
3346 if (cIndex == 1) or (cIndex == 2) then --1 --we no longer hit girder by normal means |
3347 cIndex = #cat |
3347 cIndex = #cat |
3348 end |
3348 end |
3349 |
3349 |
3354 |
3354 |
3355 end |
3355 end |
3356 |
3356 |
3357 function onDown() |
3357 function onDown() |
3358 |
3358 |
3359 if (curWep ~= amGirder) then |
3359 if (curWep == amAirAttack) then |
3360 cIndex = cIndex + 1 |
3360 cIndex = cIndex + 1 |
3361 if cIndex > #cat then |
3361 if cIndex > #cat then |
3362 cIndex = 3 -- 2 ----we no longer hit girder by normal means |
3362 cIndex = 3 -- 2 ----we no longer hit girder by normal means |
3363 end |
3363 end |
3364 |
3364 |