[Scummvm-cvs-logs] scummvm master -> 38ac5854f4656d8106b5a257d15c696e16014b6b

wjp wjp at usecode.org
Sun May 5 13:33:00 CEST 2013


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
38ac5854f4 LURE: Fix getNumGroats


Commit: 38ac5854f4656d8106b5a257d15c696e16014b6b
    https://github.com/scummvm/scummvm/commit/38ac5854f4656d8106b5a257d15c696e16014b6b
Author: Willem Jan Palenstijn (wjp at usecode.org)
Date: 2013-05-05T04:31:27-07:00

Commit Message:
LURE: Fix getNumGroats

This fixes bug #3612682

Changed paths:
    engines/lure/scripts.cpp



diff --git a/engines/lure/scripts.cpp b/engines/lure/scripts.cpp
index df2f06d..8afdaa5 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());
 }
 






More information about the Scummvm-git-logs mailing list