Skip to content

Commit

Permalink
DIRECTOR: Fix load actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Iskrich authored and sev- committed Aug 3, 2016
1 parent a027640 commit 1099838
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion engines/director/lingo/lingo.cpp
Expand Up @@ -57,7 +57,7 @@ struct EventHandlerType {
{ kEventMouseEnter, "mouseEnter" },
{ kEventMouseLeave, "mouseLeave" },
{ kEventMouseUpOutSide, "mouseUpOutSide" },
{ kEventMouseWithin "mouseWithin" },
{ kEventMouseWithin, "mouseWithin" },

{ kEventNone, 0 },
};
Expand Down
3 changes: 2 additions & 1 deletion engines/director/score.cpp
Expand Up @@ -229,11 +229,12 @@ void Score::loadActions(Common::SeekableReadStream &stream) {

id = nextId;
stringPos = nextStringPos;
if (stringPos == stream.size())
break;
}

Common::HashMap<uint16, Common::String>::iterator j;

debug("%d", ConfMan.getBool("dump_scripts"));
if (!ConfMan.getBool("dump_scripts"))
return;

Expand Down

0 comments on commit 1099838

Please sign in to comment.