X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgame%2Fg_saveload.pas;h=c77147f87537902a514173bbfe081821576d6a96;hb=6b2e9c834e5911e3c0787a9fe51326b4a1e21e0d;hp=980cef8a8b8ea9c406fa1ac22a3c77a1eb762b90;hpb=844441154d1220d6c83f75043300c2851ec87109;p=d2df-sdl.git diff --git a/src/game/g_saveload.pas b/src/game/g_saveload.pas index 980cef8..c77147f 100644 --- a/src/game/g_saveload.pas +++ b/src/game/g_saveload.pas @@ -1,3 +1,19 @@ +(* 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 + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + *) +{$MODE DELPHI} unit g_saveload; interface @@ -151,7 +167,7 @@ begin str := gGameSettings.WAD; bMem.WriteString(str, 128); // Èìÿ êàðòû: - g_ProcessResourceStr(gMapInfo.Map, nil, nil, @str); + str := g_ExtractFileName(gMapInfo.Map); bMem.WriteString(str, 32); // Êîëè÷åñòâî èãðîêîâ: nPlayers := g_Player_GetCount();