From 932bbee9289daf4ded4b090764df27bde4f2c8cf Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 29 Jan 2019 02:16:36 +0100 Subject: [PATCH] - fixed some warnings --- src/fragglescript/t_parse.cpp | 2 +- src/g_game.cpp | 1 + src/g_levellocals.h | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/fragglescript/t_parse.cpp b/src/fragglescript/t_parse.cpp index 16cfdda49..78bfc3aed 100644 --- a/src/fragglescript/t_parse.cpp +++ b/src/fragglescript/t_parse.cpp @@ -34,7 +34,7 @@ #include #include "t_script.h" #include "v_text.h" -#include "g_levellocals.h""" +#include "g_levellocals.h" CVAR(Bool, script_debug, false, 0) diff --git a/src/g_game.cpp b/src/g_game.cpp index ff06e184f..1d9b73950 100644 --- a/src/g_game.cpp +++ b/src/g_game.cpp @@ -1088,6 +1088,7 @@ void G_Ticker () AM_ToggleMap (); gameaction = ga_nothing; break; + default: case ga_nothing: break; } diff --git a/src/g_levellocals.h b/src/g_levellocals.h index b1077fb06..7977b6fc3 100644 --- a/src/g_levellocals.h +++ b/src/g_levellocals.h @@ -98,7 +98,7 @@ typedef TMap FDialogueMap; // maps actor class names to dialogue struct FLevelLocals { - FLevelLocals() : tagManager(this), Behaviors(this) {} + FLevelLocals() : Behaviors(this), tagManager(this) {} friend class MapLoader;