Remove support for formation speed limiting. It is not implemented well, has bugs, and will

lead to severe out of sync issues if used by some but not all players in multiplayer. This
closes ticket:1177 and closes ticket:1167


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9330 4a71c877-e1ca-e34f-864e-861f7616d084
master
Per Inge Mathisen 2010-01-18 17:25:17 +00:00 committed by Git SVN Gateway
parent 6bfac26b93
commit ac67165ef0
2 changed files with 2 additions and 12 deletions

View File

@ -2403,17 +2403,7 @@ UDWORD xJump = 0, yJump = 0;
// --------------------------------------------------------------------------
void kf_ToggleFormationSpeedLimiting( void )
{
// THIS IS NOT A CHEAT
if ( moveFormationSpeedLimitingOn() )
{
addConsoleMessage(_("Formation speed limiting OFF"),LEFT_JUSTIFY, SYSTEM_MESSAGE);
}
else
{
addConsoleMessage(_("Formation speed limiting ON"),LEFT_JUSTIFY, SYSTEM_MESSAGE);
}
moveToggleFormationSpeedLimiting();
addConsoleMessage(_("Formation speed limiting has been removed from the game due to bugs."), LEFT_JUSTIFY, SYSTEM_MESSAGE);
}
// --------------------------------------------------------------------------

View File

@ -219,7 +219,7 @@ static void moveCalcBoundary(DROID *psDroid);
/* Turn a vector into an angle - returns a float (!) */
static float vectorToAngle(float vx, float vy);
static BOOL g_bFormationSpeedLimitingOn = true;
static BOOL g_bFormationSpeedLimitingOn = false;
/* Return the difference in directions */
static UDWORD moveDirDiff(SDWORD start, SDWORD end)