share/hedgewars/Data/Scripts/Multiplayer/WxW.lua
changeset 14793 f5dcf47dff2c
parent 14792 97a36fb44123
child 14794 a9f32ff53389
equal deleted inserted replaced
14792:97a36fb44123 14793:f5dcf47dff2c
  1584 		gTimer = gTimer + 1
  1584 		gTimer = gTimer + 1
  1585 		if gTimer == 25 then
  1585 		if gTimer == 25 then
  1586 			gTimer = 1
  1586 			gTimer = 1
  1587 
  1587 
  1588 			if roundN == 100 then
  1588 			if roundN == 100 then
  1589 				CheckForWallCollision()
       
  1590 				if band(GetState(CurrentHedgehog), gstHHDriven) ~= 0 then
  1589 				if band(GetState(CurrentHedgehog), gstHHDriven) ~= 0 then
       
  1590 					CheckForWallCollision()
  1591 					CheckCrateConditions()
  1591 					CheckCrateConditions()
  1592 				end
  1592 				end
  1593 
  1593 
  1594 				if (GetGearType(GetFollowGear()) == gtCase) then
  1594 				if (GetGearType(GetFollowGear()) == gtCase) then
  1595 					FollowGear(CurrentHedgehog)
  1595 					FollowGear(CurrentHedgehog)