Fixed bug in friend item collision detection
authorSami Rämö <sami.ramo@ixonos.com>
Thu, 8 Jul 2010 11:51:51 +0000 (14:51 +0300)
committerSami Rämö <sami.ramo@ixonos.com>
Thu, 8 Jul 2010 11:51:51 +0000 (14:51 +0300)
commitf94edc46463e05c74470c8ca58e41b8a84045ba1
tree8dac12507b09f1803972f6cc2df035280d2609c3
parent1d5f919bed6ddf7d96e639592b293d008a99cd72
Fixed bug in friend item collision detection

 - collision detection in FriendItemsHandler::collides() method
   did not work correctly when item2 was over the world limits
   and item1 was near the world limit at the opposite side
   of the world

 - update only previously grouped friend items isPartOfGroup status
   when destructing all groups
src/map/friendgroupitem.cpp
src/map/frienditemshandler.cpp
src/map/frienditemshandler.h