Allow drive mode in multiplayer games, too. And properly disable it when leaving follow-me mode.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3713 4a71c877-e1ca-e34f-864e-861f7616d084
master
Dennis Schridde 2008-02-07 23:59:51 +00:00
parent 2685185c33
commit d1f027ee94
2 changed files with 6 additions and 6 deletions

View File

@ -1473,8 +1473,8 @@ void kf_ToggleDrivingMode( void )
addConsoleMessage("DriverMode off", LEFT_JUSTIFY);
}
else
{
if( (driveModeActive() == FALSE) && (demoGetStatus() == FALSE) && !bMultiPlayer)
{ // removed the MP check for this, so you can now play with in in MP games.
if( (driveModeActive() == FALSE) && (demoGetStatus() == FALSE) ) // && !bMultiPlayer)
{
StartDriverMode( NULL );
addConsoleMessage("DriverMode on", LEFT_JUSTIFY);

View File

@ -1350,10 +1350,10 @@ void camToggleStatus( void )
{
/* Otherwise, switch it off */
setWarCamActive(FALSE);
// if(getDrivingStatus())
// {
// StopDriverMode();
// }
if(getDrivingStatus())
{
StopDriverMode();
}
}
}