X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgame%2Fg_console.pas;h=2f3103a014017aa3e0fe150310f4624f953caf15;hb=4ac477a64781436f4518e96009c3eef29979290b;hp=9e6f4d5de4776bd505e2499b4a384cfff3a6862a;hpb=cd1ca85acc0740e0f307782e2af54e5ba0a59507;p=d2df-sdl.git diff --git a/src/game/g_console.pas b/src/game/g_console.pas index 9e6f4d5..2f3103a 100644 --- a/src/game/g_console.pas +++ b/src/game/g_console.pas @@ -1,4 +1,4 @@ -(* Copyright (C) DooM 2D:Forever Developers +(* Copyright (C) Doom 2D: Forever Developers * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -60,7 +60,7 @@ implementation uses g_textures, g_main, e_graphics, e_input, g_game, - SysUtils, g_basic, g_options, Math, + SysUtils, g_basic, g_options, Math, g_touch, g_menu, g_language, g_net, g_netmsg, e_log, conbuf; @@ -265,7 +265,7 @@ var cp: PCommand; pv: PVarSingle; begin - GetMem(pv, sizeof(pv^)); + GetMem(pv, sizeof(TVarSingle)); pv.val := pvar; pv.min := amin; pv.max := amax; @@ -469,6 +469,13 @@ begin g_Console_Add('exec