diff options
author | Machiavelli <none@none> | 2010-03-16 01:05:56 +0100 |
---|---|---|
committer | Machiavelli <none@none> | 2010-03-16 01:05:56 +0100 |
commit | b0b17e56de08e563a7b5f15d4f19a4070c8d0dbb (patch) | |
tree | 70aebf1c4181b21a0b4e30b95f4b6b490c64a947 /src/game/Unit.cpp | |
parent | 5b277b11a7d419ef2f59b7eb8220571fb4c502b4 (diff) |
- Overload Item::SetState with player argument where possible to ensure updated data is saved to DB properly.
- Alter Item::SetEnchantmentDuration function, add parameter Player* because GetOwner() cannot be called in the function due to hashtable locking in the SaveAllPlayers process.
- Remove a sanity check prior to Item::AddToUpdateQueueOf, so assertions can detect whenever a higher level function was not called properly. Please report any crashes related to these assertions to get them resolved asap.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
0 files changed, 0 insertions, 0 deletions