Core/Entities: Ensure that pets retain their XP-points when dismissed in any form or way (outrunning/riding/mounting/flying)

Also clean up the logic a bit - pet stats initialization initializes hp/mana/powers on pets, while they should only be initialized/changed on pet call/creation.
Fixes issues 4284

--HG--
branch : trunk
This commit is contained in:
click
2010-10-10 01:03:21 +02:00
parent 64ccaa6c08
commit 0509a780c8
2 changed files with 4 additions and 6 deletions
+1 -1
View File
@@ -48,7 +48,7 @@
#undef VERSION
#endif //VERSION
# include "config.h"
# include "Config.h"
#undef PACKAGE
#undef PACKAGE_BUGREPORT