mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 16:44:36 +00:00
fixed some indentation problems
just noticed a few more indentation problem, my bad.
This commit is contained in:
parent
3ea47a5806
commit
55c12ebad9
1 changed files with 5 additions and 5 deletions
|
|
@ -619,7 +619,7 @@ function buildFullMapString( %index )
|
||||||
// getting exact type of binding based on Remap name
|
// getting exact type of binding based on Remap name
|
||||||
if(getSubStr(%name,0,7) $= "Vehicle" )
|
if(getSubStr(%name,0,7) $= "Vehicle" )
|
||||||
{
|
{
|
||||||
%temp = vehicleMap.getBinding( %cmd );
|
%temp = vehicleMap.getBinding( %cmd );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
%temp = moveMap.getBinding( %cmd );
|
%temp = moveMap.getBinding( %cmd );
|
||||||
|
|
@ -660,7 +660,7 @@ function OptionsDlg::doRemap( %this )
|
||||||
|
|
||||||
//turning on the vehicle mapping flag if selected item is vehicle remapping
|
//turning on the vehicle mapping flag if selected item is vehicle remapping
|
||||||
if(getSubStr(%name,0,7) $= "Vehicle")
|
if(getSubStr(%name,0,7) $= "Vehicle")
|
||||||
$vehicleMapped = true;
|
$vehicleMapped = true;
|
||||||
|
|
||||||
RemapDlg-->OptRemapText.setValue( "Re-bind \"" @ %name @ "\" to..." );
|
RemapDlg-->OptRemapText.setValue( "Re-bind \"" @ %name @ "\" to..." );
|
||||||
OptRemapInputCtrl.index = %selId;
|
OptRemapInputCtrl.index = %selId;
|
||||||
|
|
@ -744,7 +744,7 @@ function OptRemapInputCtrl::onInputEvent( %this, %device, %action )
|
||||||
// Get the current command this action is mapped to
|
// Get the current command this action is mapped to
|
||||||
if(!$vehicleMapped)
|
if(!$vehicleMapped)
|
||||||
%prevMap = moveMap.getCommand( %device, %action );
|
%prevMap = moveMap.getCommand( %device, %action );
|
||||||
else
|
else
|
||||||
%prevMap = vehicleMap.getCommand( %device, %action );
|
%prevMap = vehicleMap.getCommand( %device, %action );
|
||||||
|
|
||||||
// If nothing was mapped to the previous command
|
// If nothing was mapped to the previous command
|
||||||
|
|
@ -754,9 +754,9 @@ function OptRemapInputCtrl::onInputEvent( %this, %device, %action )
|
||||||
unbindExtraActions( %cmd, 1 );
|
unbindExtraActions( %cmd, 1 );
|
||||||
// performing desired binding (vehicleMap or moveMap)
|
// performing desired binding (vehicleMap or moveMap)
|
||||||
if(!$vehicleMapped)
|
if(!$vehicleMapped)
|
||||||
moveMap.bind( %device, %action, %cmd );
|
moveMap.bind( %device, %action, %cmd );
|
||||||
else
|
else
|
||||||
vehicleMap.bind( %device, %action, %cmd );
|
vehicleMap.bind( %device, %action, %cmd );
|
||||||
optionsDlg-->OptRemapList.setRowById( %this.index, buildFullMapString( %this.index ) );
|
optionsDlg-->OptRemapList.setRowById( %this.index, buildFullMapString( %this.index ) );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue