Skip to content

Commit 4f754d8

Browse files
authored
Update stores.cpp
1 parent 3e09e6d commit 4f754d8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Source/stores.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2522,8 +2522,8 @@ void PlaceStoreGold(int v)
25222522
done = FALSE;
25232523

25242524
for (i = 0; i < 40 && !done; i++) {
2525-
xx = 10 * (i / 10);
2526-
yy = i % 10;
2525+
yy = 10 * (i / 10);
2526+
xx = i % 10;
25272527
if (!plr[myplr].InvGrid[xx + yy]) {
25282528
ii = plr[myplr]._pNumInv;
25292529
GetGoldSeed(myplr, &golditem);

0 commit comments

Comments
 (0)