equal
deleted
inserted
replaced
1343 |
1343 |
1344 clanPower[GetHogClan(CurrentHedgehog)] = clanPower[GetHogClan(CurrentHedgehog)] - placedExpense |
1344 clanPower[GetHogClan(CurrentHedgehog)] = clanPower[GetHogClan(CurrentHedgehog)] - placedExpense |
1345 placedCount = placedCount + 1 |
1345 placedCount = placedCount + 1 |
1346 |
1346 |
1347 else |
1347 else |
1348 AddCaption("Invalid Placement",0xffba00ff,capgrpVolume) |
1348 if (clanPower[GetHogClan(CurrentHedgehog)] >= placedExpense) then |
|
1349 AddCaption(loc("Invalid Placement"),0xffba00ff,capgrpVolume) |
|
1350 else |
|
1351 AddCaption(loc("Insufficient Power"),0xffba00ff,capgrpVolume) |
|
1352 end |
1349 PlaySound(sndDenied) |
1353 PlaySound(sndDenied) |
1350 end |
1354 end |
1351 |
1355 |
1352 |
1356 |
1353 end |
1357 end |