X-Git-Url: https://deadsoftware.ru/gitweb?p=flatwaifu.git;a=blobdiff_plain;f=src%2Fmenu.c;h=5ef147852491e60e777abb2932f2ee8438293129;hp=ddbf0b4deb8a35a4e8735d9fec8d060bcdb457cd;hb=ef16dea09f87b15fc6d58fae0aa0832e0648c00e;hpb=14813cefff1cc036bf217346188c168429b52e81 diff --git a/src/menu.c b/src/menu.c index ddbf0b4..5ef1478 100644 --- a/src/menu.c +++ b/src/menu.c @@ -1,24 +1,17 @@ -/* - Copyright (C) Prikol Software 1996-1997 - Copyright (C) Aleksey Volynskov 1996-1997 - Copyright (C) 2011 - - This file is part of the Doom2D:Rembo project. - - Doom2D:Rembo is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License version 2 as - published by the Free Software Foundation. - - Doom2D:Rembo 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 or - write to the Free Software Foundation, Inc., - 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -*/ +/* Copyright (C) 2020 SovietPony + * + * 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, version 3 of the License ONLY. + * + * 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 . + */ #include "glob.h" #include "files.h" @@ -524,7 +517,6 @@ int GM_act (void) { Z_sound(msnd2, 128); } else { msg.type = GM_SELECT; - if (cur < 0) abort(); if (GM_send(m, cur, &msg)) { Z_sound(msnd2, 128); }