summaryrefslogtreecommitdiff
path: root/src/game-server/buysell.h
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2011-03-11 03:00:03 +0100
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2011-04-15 23:09:16 +0200
commitf529913ebe287cdd33be5ddafd4a8452f41e9383 (patch)
treec8836cc9d1da91999d659b092ed9c3630bb3c34a /src/game-server/buysell.h
parent89944ee6755a8d1cf1afb8e1e4808529bccf04c6 (diff)
downloadmanaserv-f529913ebe287cdd33be5ddafd4a8452f41e9383.tar.gz
manaserv-f529913ebe287cdd33be5ddafd4a8452f41e9383.tar.bz2
manaserv-f529913ebe287cdd33be5ddafd4a8452f41e9383.tar.xz
manaserv-f529913ebe287cdd33be5ddafd4a8452f41e9383.zip
Fixed crash on first map update
The crash happened when it was trying to move an NPC from its old zone to its new zone. The old zone was based on the old position, which was (0,0). That crashed since its zone didn't match its old position, but its new one. This fix makes sure to update the old position to be in sync with the zone, by resetting it after being inserted into the MapComposite. Reviewed-by: Yohann Ferreira
Diffstat (limited to 'src/game-server/buysell.h')
0 files changed, 0 insertions, 0 deletions