Skip to content

Commit

Permalink
PEGASUS: Disable AI energy warnings in the demo
Browse files Browse the repository at this point in the history
The videos don't exist, so you'd be in for a surprise after playing for an hour
  • Loading branch information
Matthew Hoops committed Oct 9, 2011
1 parent 09be0ed commit 5dd625e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engines/pegasus/neighborhood/neighborhood.cpp
Expand Up @@ -1348,8 +1348,8 @@ void Neighborhood::setUpAIRules() {
if (g_AIArea) {
g_AIArea->forceAIUnlocked();

if (getObjectID() == kPrehistoricID || getObjectID() == kNoradAlphaID ||
getObjectID() == kNoradDeltaID || getObjectID() == kMarsID || getObjectID() == kWSCID) {
if (!_vm->isDemo() && (getObjectID() == kPrehistoricID || getObjectID() == kNoradAlphaID ||
getObjectID() == kNoradDeltaID || getObjectID() == kMarsID || getObjectID() == kWSCID)) {

AIEnergyMonitorCondition *condition50 = new AIEnergyMonitorCondition(kWorriedEnergy);
AIPlayMessageAction *message = new AIPlayMessageAction("Images/AI/Globals/XGLOB4A", false);
Expand Down

0 comments on commit 5dd625e

Please sign in to comment.