mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
Hotkeys:
- use SHIFT key to move in formation - Ctrl+Alt+G: toggle formation - G: toggle light effects git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8777 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -85,12 +85,7 @@
|
||||
#include "Map Information.h"
|
||||
#include "Soldier Control.h"
|
||||
#include "DisplayCover.h"
|
||||
//ddd optimization of enemy turn
|
||||
#include "aiinternals.h"
|
||||
//#include "los.h"
|
||||
//#include "structure wrap.h"
|
||||
//#include "DisplayCover.h"
|
||||
//ddd optimization of enemy turn
|
||||
#include "english.h" // sevenfm: this is needed for _keydown(SHIFT) to work
|
||||
#endif
|
||||
|
||||
#include "teamturns.h"
|
||||
@@ -5945,7 +5940,8 @@ BOOLEAN HandleMultiSelectionMove( INT32 sDestGridNo )
|
||||
|
||||
INT32 sIndividualDestGridNo = sDestGridNo;
|
||||
// Flugente: determine offset to current center gridno
|
||||
if ( gGameSettings.fOptions[TOPTION_MERCENARY_FORMATIONS] )
|
||||
// sevenfm: use SHIFT key to move in formation
|
||||
if (_KeyDown(SHIFT) || gGameSettings.fOptions[TOPTION_MERCENARY_FORMATIONS])
|
||||
{
|
||||
INT32 currentX = pSoldier->sGridNo % MAXCOL;
|
||||
INT32 currentY = pSoldier->sGridNo / MAXCOL;
|
||||
|
||||
Reference in New Issue
Block a user