X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FMenu.cpp;h=f3d9e0bf70a3a55ee5d657d67c6550cfb0c8b972;hb=d9af94bbebdd8ab2b276a0a66492c9d97677d4f4;hp=8737a78e463c5cce97738c50f5557c2269fd9a19;hpb=efbc6ee855217635d97671a3a2d65bc18908b840;p=lugaru.git diff --git a/Source/Menu.cpp b/Source/Menu.cpp index 8737a78..f3d9e0b 100644 --- a/Source/Menu.cpp +++ b/Source/Menu.cpp @@ -1,22 +1,21 @@ /* Copyright (C) 2003, 2010 - Wolfire Games +Copyright (C) 2010-2016 - Lugaru contributors (see AUTHORS file) This file is part of Lugaru. -Lugaru 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 2 -of the License, or (at your option) any later version. +Lugaru 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 2 of the License, or +(at your option) any later version. -This program is distributed in the hope that it will be useful, +Lugaru 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. +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, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +along with Lugaru. If not, see . */ #include @@ -272,6 +271,9 @@ void Menu::drawItems() glEnable(GL_TEXTURE_2D); } break; + default: + case MenuItem::NONE: + break; } } }