SL-14456 FIXED Stop Moving action does not work in the custom key mappings viewer

master
Mnikolenko Productengine 2020-12-03 15:20:50 +02:00
parent 65d661bc67
commit 99daebb1de
1 changed files with 2 additions and 1 deletions

View File

@ -609,7 +609,8 @@ bool edit_avatar_move_backward( EKeystate s )
bool stop_moving( EKeystate s )
{
if( KEYSTATE_DOWN != s ) return true;
//it's supposed that 'stop moving' key will be held down for some time
if( KEYSTATE_UP == s ) return true;
// stop agent
gAgent.setControlFlags(AGENT_CONTROL_STOP);