Stop rotation when "Continue" is pressed after winning a multiplayer/skirmish game.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7888 4a71c877-e1ca-e34f-864e-861f7616d084
master
Guangcong Luo 2009-07-19 22:28:10 +00:00 committed by Git SVN Gateway
parent cfda22f528
commit a7cf3b6edf
1 changed files with 2 additions and 1 deletions

View File

@ -51,6 +51,7 @@
#include "init.h"
#include "warcam.h" // these 4 for fireworks
#include "mission.h"
#include "effects.h"
#include "lib/gamelib/gtime.h"
#include "keybind.h"
@ -175,7 +176,7 @@ BOOL multiplayerWinSequence(BOOL firstCall)
}
// rotate world
if(!getWarCamStatus())
if (MissionResUp && !getWarCamStatus())
{
rotAmount = timeAdjustedIncrement(MAP_SPIN_RATE / 12, true);
player.r.y += rotAmount;