diff --git a/src/game/g_game.pas b/src/game/g_game.pas
index 4cfb4a2106b8f080662e8c8dffe66de05e87abaa..6a11291bb77bfecb12ecb029a8b0d4b295c7ab3b 100644 (file)
--- a/src/game/g_game.pas
+++ b/src/game/g_game.pas
uses
g_basic, g_player, e_graphics, Classes, g_res_downloader,
- SysUtils, g_sound, g_gui, g_scripts, MAPSTRUCT, wadreader, md5;
+ SysUtils, g_sound, g_gui, MAPSTRUCT, wadreader, md5;
type
TGameSettings = record
g_Game_SetLoadingText(_lc[I_LOAD_MENUS], 0, False);
g_Menu_Init();
-
- g_Scripts_Init();
- g_Scripts_Load('game.conprint("Scripts Init")');
gMusic := TMusic.Create();
gMusic.SetByName('MUSIC_MENU');
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 if MoveButton <> 0 then 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