# HG changeset patch # User nemo # Date 1424185472 18000 # Node ID 158b5dd6b3c947a4675df98fbc2703110941196c # Parent 9867dd60a66a8304272cfede13bcbb1c6472f259 avoid airmines too when spawning diff -r 9867dd60a66a -r 158b5dd6b3c9 hedgewars/uGears.pas --- a/hedgewars/uGears.pas Tue Feb 17 09:50:22 2015 -0500 +++ b/hedgewars/uGears.pas Tue Feb 17 10:04:32 2015 -0500 @@ -994,6 +994,7 @@ @doStepHedgehog, @doStepMine, @doStepCase, + @doStepAirMine, @doStepCase, @doStepBomb, @doStepShell, @@ -1055,8 +1056,7 @@ @doStepIceGun, @doStepAddAmmo, @doStepGenericFaller, - @doStepKnife, - @doStepAirMine); + @doStepKnife); begin doStepHandlers:= handlers; diff -r 9867dd60a66a -r 158b5dd6b3c9 hedgewars/uGearsList.pas --- a/hedgewars/uGearsList.pas Tue Feb 17 09:50:22 2015 -0500 +++ b/hedgewars/uGearsList.pas Tue Feb 17 10:04:32 2015 -0500 @@ -41,6 +41,7 @@ (* gtHedgehog *) , amNothing (* gtMine *) , amMine (* gtCase *) , amNothing +(* gtAirMine *) , amAirMine (* gtExplosives *) , amNothing (* gtGrenade *) , amGrenade (* gtShell *) , amBazooka @@ -103,7 +104,6 @@ (* gtAddAmmo *) , amNothing (* gtGenericFaller *) , amNothing (* gtKnife *) , amKnife -(* gtAirMine *) , amAirMine ); diff -r 9867dd60a66a -r 158b5dd6b3c9 hedgewars/uTypes.pas --- a/hedgewars/uTypes.pas Tue Feb 17 09:50:22 2015 -0500 +++ b/hedgewars/uTypes.pas Tue Feb 17 10:04:32 2015 -0500 @@ -92,20 +92,21 @@ ); // Gears that interact with other Gears and/or Land - TGearType = (gtFlame, gtHedgehog, gtMine, gtCase, gtExplosives, // these gears should be avoided when searching a spawn place - gtGrenade, gtShell, gtGrave, gtBee, // 8 - gtShotgunShot, gtPickHammer, gtRope, // 11 - gtDEagleShot, gtDynamite, gtClusterBomb, gtCluster, gtShover, // 16 - gtFirePunch, gtATStartGame, // 18 - gtATFinishGame, gtParachute, gtAirAttack, gtAirBomb, gtBlowTorch, // 23 - gtGirder, gtTeleport, gtSwitcher, gtTarget, gtMortar, // 28 - gtWhip, gtKamikaze, gtCake, gtSeduction, gtWatermelon, gtMelonPiece, // 34 - gtHellishBomb, gtWaterUp, gtDrill, gtBallGun, gtBall, gtRCPlane, // 40 - gtSniperRifleShot, gtJetpack, gtMolotov, gtBirdy, // 44 - gtEgg, gtPortal, gtPiano, gtGasBomb, gtSineGunShot, gtFlamethrower, // 50 - gtSMine, gtPoisonCloud, gtHammer, gtHammerHit, gtResurrector, // 55 + // first row of gears (