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-861f7616d084master
parent
cfda22f528
commit
a7cf3b6edf
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue