Always climb up when pressing the direction key against the wall

stable-5.3
Armin Burgmeier 2012-10-13 18:03:20 +02:00
parent 89b0d5472c
commit 977cf98f82
1 changed files with 3 additions and 2 deletions

View File

@ -3559,10 +3559,11 @@ void C4Object::ExecAction()
}
if ((Action.Dir == DIR_Left && ComDir == COMD_Left) || (Action.Dir == DIR_Right && ComDir == COMD_Right))
{
if (ydir > 0)
/*if (ydir > 0)
ComDir = COMD_Down;
else
ComDir = COMD_Up;
ComDir = COMD_Up;*/
ComDir = COMD_Up;
}
switch (ComDir)
{