aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2013-05-05 13:31:27 +0200
committerWillem Jan Palenstijn2013-05-05 13:31:27 +0200
commit38ac5854f4656d8106b5a257d15c696e16014b6b (patch)
tree12a85b3310a364d3ab47b136bb9a658e64581cc7 /engines
parentfa0b38153d0391dbe9acb5ca05538ec7661fae79 (diff)
downloadscummvm-rg350-38ac5854f4656d8106b5a257d15c696e16014b6b.tar.gz
scummvm-rg350-38ac5854f4656d8106b5a257d15c696e16014b6b.tar.bz2
scummvm-rg350-38ac5854f4656d8106b5a257d15c696e16014b6b.zip
LURE: Fix getNumGroats
This fixes bug #3612682
Diffstat (limited to 'engines')
-rw-r--r--engines/lure/scripts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lure/scripts.cpp b/engines/lure/scripts.cpp
index df2f06df96..8afdaa5ad1 100644
--- a/engines/lure/scripts.cpp
+++ b/engines/lure/scripts.cpp
@@ -673,7 +673,7 @@ void Script::barmanServe(uint16 v1, uint16 v2, uint16 v3) {
// Stores the current number of groats in the general field
void Script::getNumGroats(uint16 v1, uint16 v2, uint16 v3) {
- ValueTableData fields = Resources::getReference().fieldList();
+ ValueTableData &fields = Resources::getReference().fieldList();
fields.setField(GENERAL, fields.numGroats());
}