diff options
author | Ľubomír Remák | 2018-08-19 23:38:20 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2018-08-25 23:12:01 +0200 |
commit | b00395b0b976b869cb83c1181481f1ad7ba16b1e (patch) | |
tree | 22c2145393008f22ccc4fd5ec66790ba0796ee72 | |
parent | 0e90d6eae39363687a447e39d3ba0a4994f1800f (diff) | |
download | scummvm-rg350-b00395b0b976b869cb83c1181481f1ad7ba16b1e.tar.gz scummvm-rg350-b00395b0b976b869cb83c1181481f1ad7ba16b1e.tar.bz2 scummvm-rg350-b00395b0b976b869cb83c1181481f1ad7ba16b1e.zip |
MUTATIONOFJB: Fix MSVC warnings.
-rw-r--r-- | engines/mutationofjb/debug.cpp | 4 | ||||
-rw-r--r-- | engines/mutationofjb/tasks/objectanimationtask.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/mutationofjb/debug.cpp b/engines/mutationofjb/debug.cpp index 69804fd5bc..2a06cce49f 100644 --- a/engines/mutationofjb/debug.cpp +++ b/engines/mutationofjb/debug.cpp @@ -93,7 +93,7 @@ bool Console::cmd_listsections(int argc, const char **argv) { if (argc == 3) { Script *const script = getScriptFromArg(argv[1]); if (script) { - ActionInfo::Action action; + ActionInfo::Action action = ActionInfo::Look; const char *word = nullptr; if (strcmp(argv[2], "L") == 0) { action = ActionInfo::Look; @@ -171,7 +171,7 @@ bool Console::cmd_showsection(int argc, const char **argv) { Script *const script = getScriptFromArg(argv[1]); if (script) { Command *command = nullptr; - ActionInfo::Action action; + ActionInfo::Action action = ActionInfo::Look; bool correctAction = true; bool found = false; diff --git a/engines/mutationofjb/tasks/objectanimationtask.h b/engines/mutationofjb/tasks/objectanimationtask.h index 9e09139a3c..45e83b3147 100644 --- a/engines/mutationofjb/tasks/objectanimationtask.h +++ b/engines/mutationofjb/tasks/objectanimationtask.h @@ -29,7 +29,7 @@ namespace MutationOfJB { -class Object; +struct Object; class ObjectAnimationTask : public Task { public: |