Posted: Tue Feb 19, 2002 2:24 am
Yeah, but one more (last) comment... Because the game shows a different movement range when C&C is on, there is already code like
if (command_and_control)
show_restricted_movement_range();
else
show_complete_movement_range();
Now this code must be in several places, and in most of them (double-click, N and P keys) it is like
if (command_and_control && !recon_unit)
show_restricted_movement_range();
else
show_complete_movement_range();
Only when you click the unit for the very first time it does the first version of the code. Only that should be fixed, I can't understand why it is so hard... of course the real code is probably nothing like that though, but still.
if (command_and_control)
show_restricted_movement_range();
else
show_complete_movement_range();
Now this code must be in several places, and in most of them (double-click, N and P keys) it is like
if (command_and_control && !recon_unit)
show_restricted_movement_range();
else
show_complete_movement_range();
Only when you click the unit for the very first time it does the first version of the code. Only that should be fixed, I can't understand why it is so hard... of course the real code is probably nothing like that though, but still.