X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgame%2Fg_game.pas;h=916602132bc0127a3268d6e6cc8c47e9fedadd12;hb=acb0517dd9d37fbde03c99d2bdb277d6787119b7;hp=110111e6ca492084d47e8488d0a32138a9c66359;hpb=c60af5eda7f59dd43a46577bf27497a8e74f04fd;p=d2df-sdl.git diff --git a/src/game/g_game.pas b/src/game/g_game.pas index 110111e..9166021 100644 --- a/src/game/g_game.pas +++ b/src/game/g_game.pas @@ -1256,10 +1256,9 @@ begin begin // new strafe mechanics if (strafeDir = 0) then strafeDir := MoveButton; // start strafing - // now set direction according to strafe - if (strafeDir = 1) then plr.SetDirection(D_LEFT) - else if (strafeDir = 2) then plr.SetDirection(D_RIGHT) - else plr.SetDirection(TDirection(MoveButton-1)); + // now set direction according to strafe (reversed) + if (strafeDir = 2) then plr.SetDirection(D_LEFT) + else if (strafeDir = 1) then plr.SetDirection(D_RIGHT); end else begin