aboutsummaryrefslogtreecommitdiff
path: root/src/database_postgres.cc
diff options
context:
space:
mode:
authorfusion32 <marcopuzziello@gmail.com>2026-02-09 14:25:21 -0300
committerfusion32 <marcopuzziello@gmail.com>2026-02-09 14:25:21 -0300
commitedea08d11cc306955d8d732164ec383d37ea1f62 (patch)
treeebf3a35aa0141e5d723f03e32119f3f263075bdd /src/database_postgres.cc
parent6052f2452409c2d1560984b2d2c5cfc3517742f4 (diff)
downloadquerymanager-master.tar.gz
querymanager-master.zip
fix small issue with TransferHouses queryHEADmaster
Diffstat (limited to 'src/database_postgres.cc')
-rw-r--r--src/database_postgres.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/database_postgres.cc b/src/database_postgres.cc
index d42b5a7..b9b7234 100644
--- a/src/database_postgres.cc
+++ b/src/database_postgres.cc
@@ -2441,7 +2441,7 @@ bool FinishHouseTransfers(TDatabase *Database, int WorldID, DynamicArray<THouseT
Transfer.HouseID = GetResultInt(Result, Row, 0);
Transfer.NewOwnerID = GetResultInt(Result, Row, 1);
Transfer.Price = GetResultInt(Result, Row, 2);
- StringBufCopy(Transfer.NewOwnerName, GetResultText(Result, Row, 4));
+ StringBufCopy(Transfer.NewOwnerName, GetResultText(Result, Row, 3));
Transfers->Push(Transfer);
}