aboutsummaryrefslogtreecommitdiff
path: root/engines/lab/lab.h
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2015-12-24 17:31:34 +0100
committerWillem Jan Palenstijn2015-12-24 17:42:40 +0100
commitb614ccc2e8eca8e8159c9772669ee45909abdd81 (patch)
tree01e3e066d0324921ab38216ae7fd0d5177970d06 /engines/lab/lab.h
parent60657f9fd22154d6e554a8e5516a489547c70a84 (diff)
downloadscummvm-rg350-b614ccc2e8eca8e8159c9772669ee45909abdd81.tar.gz
scummvm-rg350-b614ccc2e8eca8e8159c9772669ee45909abdd81.tar.bz2
scummvm-rg350-b614ccc2e8eca8e8159c9772669ee45909abdd81.zip
LAB: Avoid manual memory management in Action lists
Diffstat (limited to 'engines/lab/lab.h')
-rw-r--r--engines/lab/lab.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/lab/lab.h b/engines/lab/lab.h
index 37415057ab..a8f5aa3926 100644
--- a/engines/lab/lab.h
+++ b/engines/lab/lab.h
@@ -206,7 +206,7 @@ private:
/**
* Checks whether all the conditions in a condition list are met.
*/
- bool checkConditions(int16 *condition);
+ bool checkConditions(const Common::Array<int16> &cond);
/**
* Decrements the current inventory number.
@@ -216,7 +216,7 @@ private:
/**
* Processes the action list.
*/
- void doActions(Action *actionList, CloseDataPtr *closePtrList);
+ void doActions(const Common::List<Action> &actionList, CloseDataPtr *closePtrList);
/**
* Goes through the rules if an action is taken.