LURE: Fix getNumGroats

This fixes bug #3612682
This commit is contained in:
Willem Jan Palenstijn 2013-05-05 13:31:27 +02:00
parent fa0b38153d
commit 38ac5854f4

View File

@ -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());
}