Skip to content

Commit

Permalink
MUTATIONOFJB: Fix MSVC warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
LubomirR authored and sev- committed Aug 25, 2018
1 parent 0e90d6e commit b00395b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions engines/mutationofjb/debug.cpp
Expand Up @@ -93,7 +93,7 @@ bool Console::cmd_listsections(int argc, const char **argv) {
if (argc == 3) { if (argc == 3) {
Script *const script = getScriptFromArg(argv[1]); Script *const script = getScriptFromArg(argv[1]);
if (script) { if (script) {
ActionInfo::Action action; ActionInfo::Action action = ActionInfo::Look;
const char *word = nullptr; const char *word = nullptr;
if (strcmp(argv[2], "L") == 0) { if (strcmp(argv[2], "L") == 0) {
action = ActionInfo::Look; action = ActionInfo::Look;
Expand Down Expand Up @@ -171,7 +171,7 @@ bool Console::cmd_showsection(int argc, const char **argv) {
Script *const script = getScriptFromArg(argv[1]); Script *const script = getScriptFromArg(argv[1]);
if (script) { if (script) {
Command *command = nullptr; Command *command = nullptr;
ActionInfo::Action action; ActionInfo::Action action = ActionInfo::Look;
bool correctAction = true; bool correctAction = true;
bool found = false; bool found = false;


Expand Down
2 changes: 1 addition & 1 deletion engines/mutationofjb/tasks/objectanimationtask.h
Expand Up @@ -29,7 +29,7 @@


namespace MutationOfJB { namespace MutationOfJB {


class Object; struct Object;


class ObjectAnimationTask : public Task { class ObjectAnimationTask : public Task {
public: public:
Expand Down

0 comments on commit b00395b

Please sign in to comment.