summaryrefslogtreecommitdiff
path: root/src/char
diff options
context:
space:
mode:
authorMatheus Macabu <mkbu95@gmail.com>2013-01-25 18:37:56 -0200
committerMatheus Macabu <mkbu95@gmail.com>2013-01-25 18:37:56 -0200
commit24678bdccf0c035ada2aec46dc89055beec9674c (patch)
tree51da754de0254605ecd1c9589165adcd646bf237 /src/char
parent6864c961e1cfad9650d2343bf94a9e6b197360e3 (diff)
downloadhercules-24678bdccf0c035ada2aec46dc89055beec9674c.tar.gz
hercules-24678bdccf0c035ada2aec46dc89055beec9674c.tar.bz2
hercules-24678bdccf0c035ada2aec46dc89055beec9674c.tar.xz
hercules-24678bdccf0c035ada2aec46dc89055beec9674c.zip
Fixed bugreport:7218, where unique id was implemented and they forgot that more load was being retrieved after, so card0 wasn't being loaded properly.
Signed-off-by: Matheus Macabu <mkbu95@gmail.com>
Diffstat (limited to 'src/char')
-rw-r--r--src/char/int_auction.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char/int_auction.c b/src/char/int_auction.c
index 34aed5bf7..06e238667 100644
--- a/src/char/int_auction.c
+++ b/src/char/int_auction.c
@@ -224,7 +224,7 @@ void inter_auctions_fromsql(void)
for( i = 0; i < MAX_SLOTS; i++ )
{
- Sql_GetData(sql_handle, 14 + i, &data, NULL);
+ Sql_GetData(sql_handle, 15 + i, &data, NULL);
item->card[i] = atoi(data);
}