Skip to content

Commit

Permalink
Never, EVER, allow users to control the transport in the campaign.
Browse files Browse the repository at this point in the history
It will screw up the scripts.
  • Loading branch information
buginator committed Nov 2, 2010
1 parent c02d49f commit 92256b2
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/display.c
Expand Up @@ -780,7 +780,16 @@ void processMouseClickInput(void)
}
else
{
dealWithLMB();
if (!bMultiPlayer && establishSelection(selectedPlayer) == SC_DROID_TRANSPORTER)
{
// Never, *ever* let user control the transport in SP games--it breaks the scripts!
ASSERT(game.type == CAMPAIGN, "Game type was set incorrectly!");
return;
}
else
{
dealWithLMB();
}
}
}

Expand Down

0 comments on commit 92256b2

Please sign in to comment.