diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/database/database-postgresql.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/database/database-postgresql.cpp b/src/database/database-postgresql.cpp index 77385e240..92816205c 100644 --- a/src/database/database-postgresql.cpp +++ b/src/database/database-postgresql.cpp @@ -301,7 +301,7 @@ void MapDatabasePostgreSQL::listAllLoadableBlocks(std::vector<v3s16> &dst) int numrows = PQntuples(results); for (int row = 0; row < numrows; ++row) - dst.push_back(pg_to_v3s16(results, 0, 0)); + dst.push_back(pg_to_v3s16(results, row, 0)); PQclear(results); } |