equal
deleted
inserted
replaced
379 ShowMission(loc("Sniper Training"), loc("Aiming Practice"), loc("Congratulations! You've eliminated all targets|within the allowed time frame."), 0, 0) |
379 ShowMission(loc("Sniper Training"), loc("Aiming Practice"), loc("Congratulations! You've eliminated all targets|within the allowed time frame."), 0, 0) |
380 -- Also let the hogs shout "victory!" |
380 -- Also let the hogs shout "victory!" |
381 PlaySound(sndVictory, CurrentHedgehog) |
381 PlaySound(sndVictory, CurrentHedgehog) |
382 FollowGear(CurrentHedgehog) |
382 FollowGear(CurrentHedgehog) |
383 |
383 |
384 -- Disable hog controls |
384 -- Unselect sniper rifle and disable hog controls |
385 SetInputMask(0) |
385 SetInputMask(0) |
|
386 SetWeapon(amNothing) |
386 AddAmmo(CurrentHedgehog, amSniperRifle, 0) |
387 AddAmmo(CurrentHedgehog, amSniperRifle, 0) |
387 |
388 |
388 -- Save the time left so we may keep it. |
389 -- Save the time left so we may keep it. |
389 time_goal = TurnTimeLeft |
390 time_goal = TurnTimeLeft |
390 end |
391 end |