Do not simulate planet approach (zoom) when already in orbit
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1995 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -1652,6 +1652,10 @@ rotate_planet_task (void *data)
|
||||
zoom_frames = init_zoom_array (zoom_arr);
|
||||
zoom_amt = zoom_arr[frame_num];
|
||||
|
||||
// Disable zooming when already in orbit
|
||||
if (LastActivity & CHECK_LOAD)
|
||||
zoom_amt = 0;
|
||||
|
||||
TimeIn = GetTimeCounter ();
|
||||
while (!Task_ReadState (task, TASK_EXIT))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user