Remove the "you are asking too much" power assert, as it is sometimes legitimate to ask for a lot of power (after lagging for a few seconds in multiplayer for example). Fixes bug 605 and fixes bug 401.

master
Gerard Krol 2009-10-04 23:29:53 +02:00
parent b6b9a8c534
commit 02808349a3
1 changed files with 0 additions and 2 deletions

View File

@ -408,7 +408,6 @@ float requestPower(int player, float amount)
// keep track on how much energy we could possibly spend
asPower[player].powerRequested += amount;
ASSERT(asPower[player].powerRequested < 1000, "you are asking too much");
if (amountConsidered <= asPower[player].currentPower)
{
@ -445,7 +444,6 @@ int requestPowerFor(int player, float amount, int points)
// keep track on how much energy we could possibly spend
asPower[player].powerRequested += amount;
ASSERT(asPower[player].powerRequested < 1000, "you are asking too much");
if (amountConsidered <= asPower[player].currentPower)
{