aboutsummaryrefslogtreecommitdiff
path: root/engines/mutationofjb/commands/ifitemcommand.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mutationofjb/commands/ifitemcommand.cpp')
-rw-r--r--engines/mutationofjb/commands/ifitemcommand.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/mutationofjb/commands/ifitemcommand.cpp b/engines/mutationofjb/commands/ifitemcommand.cpp
index eec4621292..ccbf09e8af 100644
--- a/engines/mutationofjb/commands/ifitemcommand.cpp
+++ b/engines/mutationofjb/commands/ifitemcommand.cpp
@@ -70,8 +70,7 @@ bool IfItemCommandParser::parse(const Common::String &line, ScriptParseContext &
IfItemCommand::IfItemCommand(const Common::String &item, bool negative) :
_item(item),
- _negative(negative)
-{}
+ _negative(negative) {}
Command::ExecuteResult IfItemCommand::execute(ScriptExecutionContext &scriptExecCtx) {
_cachedResult = scriptExecCtx.getGameData()._inventory.hasItem(_item);
@@ -87,4 +86,3 @@ Common::String IfItemCommand::debugString() const {
}
}
-