equal
deleted
inserted
replaced
2140 elseif(GetGearType(gearUid)==gtParachute) |
2140 elseif(GetGearType(gearUid)==gtParachute) |
2141 then |
2141 then |
2142 CS.PARACHUTE_IS_ON=1 |
2142 CS.PARACHUTE_IS_ON=1 |
2143 elseif(GetGearType(gearUid)==gtSwitcher) |
2143 elseif(GetGearType(gearUid)==gtSwitcher) |
2144 then |
2144 then |
2145 CS.SWITCH_HOG_IS_ON=true |
2145 if not CS.GAME_STARTED then |
|
2146 DeleteGear(gearUid) |
|
2147 else |
|
2148 CS.SWITCH_HOG_IS_ON=true |
|
2149 end |
2146 end |
2150 end |
2147 end |
2151 end |
2148 |
2152 |
2149 function onGearDamage(gearUid, damage) |
2153 function onGearDamage(gearUid, damage) |
2150 if(gearUid==CurrentHedgehog and CS.SABOTAGE_HOGS[CurrentHedgehog]==1) |
2154 if(gearUid==CurrentHedgehog and CS.SABOTAGE_HOGS[CurrentHedgehog]==1) |