equal
deleted
inserted
replaced
1278 |
1278 |
1279 if GetGameFlag(gfPlaceHog) then |
1279 if GetGameFlag(gfPlaceHog) then |
1280 if roundN < 2 then |
1280 if roundN < 2 then |
1281 SetWeapon(amSkip) |
1281 SetWeapon(amSkip) |
1282 AddAmmo(CurrentHedgehog, amTeleport, 0) |
1282 AddAmmo(CurrentHedgehog, amTeleport, 0) |
1283 SetTurnTimeLeft(cMaxTurnTime) |
1283 SetTurnTimeLeft(MAX_TURN_TIME) |
1284 SetInputMask(0) |
1284 SetInputMask(0) |
1285 end |
1285 end |
1286 if roundN == 2 then |
1286 if roundN == 2 then |
1287 if turnsCount > hogCount then |
1287 if turnsCount > hogCount then |
1288 roundN = 100 |
1288 roundN = 100 |
1335 else |
1335 else |
1336 allowCrate = false |
1336 allowCrate = false |
1337 end |
1337 end |
1338 |
1338 |
1339 if roundN == 1 then |
1339 if roundN == 1 then |
1340 SetTurnTimeLeft(cMaxTurnTime) |
1340 SetTurnTimeLeft(MAX_TURN_TIME) |
1341 SetInputMask(0) |
1341 SetInputMask(0) |
1342 allowCrate = false |
1342 allowCrate = false |
1343 UpdateMenu() |
1343 UpdateMenu() |
1344 AddCaption(string.format(loc("%s may choose the rules."), GetHogTeamName(CurrentHedgehog)), msgColorTech, capgrpGameState) |
1344 AddCaption(string.format(loc("%s may choose the rules."), GetHogTeamName(CurrentHedgehog)), msgColorTech, capgrpGameState) |
1345 HandleStartingStage() |
1345 HandleStartingStage() |