Fixed a copy-paste error

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2311 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
mcmartin
2006-04-15 23:15:22 +00:00
parent e75157a35b
commit 9c38ba9aee
+1 -1
View File
@@ -327,7 +327,7 @@ main (int argc, char *argv[])
{
/* This is an unsigned, so no < 0 check is necessary */
PlayerTwo = res_GetInteger ("config.player2control");
if (PlayerOne >= NUM_TEMPLATES)
if (PlayerTwo >= NUM_TEMPLATES)
{
fprintf (stderr, "Illegal control template '%d' for Player Two.\n", PlayerOne);
PlayerTwo = CONTROL_TEMPLATE_KB_2;