Allow player to warp-escape in Cyborg mode (bug #563)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1697 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -38,7 +38,13 @@ computer_intelligence (void)
|
|||||||
if (CyborgDescPtr)
|
if (CyborgDescPtr)
|
||||||
{
|
{
|
||||||
if (PlayerControl[cur_player] & CYBORG_CONTROL)
|
if (PlayerControl[cur_player] & CYBORG_CONTROL)
|
||||||
|
{
|
||||||
InputState = tactical_intelligence ();
|
InputState = tactical_intelligence ();
|
||||||
|
|
||||||
|
// allow a player to warp-escape in cyborg mode
|
||||||
|
if (cur_player == 0)
|
||||||
|
InputState |= (*(HumanInput[cur_player])) () & BATTLE_ESCAPE;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
InputState = (*(HumanInput[cur_player])) ();
|
InputState = (*(HumanInput[cur_player])) ();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user