Cyborg speed clarification comments
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1709 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -756,11 +756,11 @@ EncounterBattle (void)
|
|||||||
cur_speed = (BYTE)(GLOBAL (glob_flags) & COMBAT_SPEED_MASK)
|
cur_speed = (BYTE)(GLOBAL (glob_flags) & COMBAT_SPEED_MASK)
|
||||||
>> COMBAT_SPEED_SHIFT;
|
>> COMBAT_SPEED_SHIFT;
|
||||||
if (cur_speed == 1)
|
if (cur_speed == 1)
|
||||||
cur_speed = 0;
|
cur_speed = 0; /* normal speed */
|
||||||
else if (cur_speed == 2)
|
else if (cur_speed == 2)
|
||||||
++cur_speed;
|
++cur_speed; /* 4x speed, 3 of 4 frames skipped */
|
||||||
else /* if (cur_speed == 3) */
|
else /* if (cur_speed == 3) */
|
||||||
cur_speed = (BYTE)~0;
|
cur_speed = (BYTE)~0; /* maximum speed - no rendering */
|
||||||
nth_frame = MAKE_WORD (1, cur_speed);
|
nth_frame = MAKE_WORD (1, cur_speed);
|
||||||
PlayerControl[0] = CYBORG_CONTROL | AWESOME_RATING;
|
PlayerControl[0] = CYBORG_CONTROL | AWESOME_RATING;
|
||||||
PlayerInput[0] = ComputerInput;
|
PlayerInput[0] = ComputerInput;
|
||||||
|
|||||||
Reference in New Issue
Block a user