From 4f754d82ed52e9bbec3e1dc49971bfc5de7c4d1b Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Fri, 12 Apr 2019 20:04:48 +0200 Subject: [PATCH] Update stores.cpp --- Source/stores.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/stores.cpp b/Source/stores.cpp index b151e1d3d..7a720b63d 100644 --- a/Source/stores.cpp +++ b/Source/stores.cpp @@ -2522,8 +2522,8 @@ void PlaceStoreGold(int v) done = FALSE; for (i = 0; i < 40 && !done; i++) { - xx = 10 * (i / 10); - yy = i % 10; + yy = 10 * (i / 10); + xx = i % 10; if (!plr[myplr].InvGrid[xx + yy]) { ii = plr[myplr]._pNumInv; GetGoldSeed(myplr, &golditem);