MUTATIONOFJB: Fix MSVC warnings.

This commit is contained in:
Ľubomír Remák 2018-08-19 23:38:20 +02:00 committed by Eugene Sandulenko
parent 0e90d6eae3
commit b00395b0b9
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -29,7 +29,7 @@
namespace MutationOfJB {
class Object;
struct Object;
class ObjectAnimationTask : public Task {
public: