mirror of
https://github.com/1dot13/source.git
synced 2026-08-26 14:30:26 +02:00
Little Alien
- Moved new game settings from ja2.ini to Ja2_Options.ini - Moved all settings from NewGameSettings.cpp to GameSettings.cpp - New feature: Militia movement on strategic map v1.3 - New feature: Automatic reload Press Shift+R in tactical to reload all weapons of your team with magazines from sector inventory git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@60 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -58,6 +58,7 @@
|
||||
#include "Strategic Pathing.h"
|
||||
#endif
|
||||
|
||||
#include "MilitiaSquads.h"
|
||||
|
||||
// various reason an assignment can be aborted before completion
|
||||
enum{
|
||||
@@ -1913,6 +1914,8 @@ void UpdateAssignments()
|
||||
{
|
||||
for( bZ = 0; bZ < 4; bZ++)
|
||||
{
|
||||
// handle militia squads movings and creating (not an assignment)
|
||||
if(!bZ && sX < 17 && sY < 17 && sX > 0 && sY > 0)UpdateMilitiaSquads( sX, sY );
|
||||
// is there anyone in this sector?
|
||||
if( fSectorsWithSoldiers[ sX + sY * MAP_WORLD_X ][ bZ ] == TRUE )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user