Revision 68ba0be...

Go back to digest for 25th December 2011

Bug Fixes in Games

Felix Rohrbach committed changes in [gluon] /assets/other:

Fix two errors in {Statistics,Achievements}Asset

REVIEW: 103452
1. The deletion of Achievements/Statistics when calling unload makes
the creator crash. Solution: Don't unload. Most assets don't do that
either.
2. The automatic loading caused an endless recursion, as the gdl parser
checks whether the object already exists in the object tree, which
causes load() to be called again. Solution: mark as loaded earlier.

File Changes

Modified 2 files
  • /assets/other
  •   engine/achievements/achievementsasset.cpp
  •   engine/statistics/statisticsasset.cpp
2 files changed in total