aboutsummaryrefslogtreecommitdiff
path: root/src/database_postgres.cc
diff options
context:
space:
mode:
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);
}