[7227] Implement prismatic sockets. Related code cleanups.

Big thanks to TOM_RUS for help in reseach!
This commit is contained in:
VladimirMangos 2009-02-04 02:06:42 +03:00
parent 2c7216ac8c
commit fdd8176d74
10 changed files with 134 additions and 42 deletions

View file

@ -286,7 +286,7 @@ void Item::UpdateDuration(Player* owner, uint32 diff)
}
SetUInt32Value(ITEM_FIELD_DURATION, GetUInt32Value(ITEM_FIELD_DURATION) - diff);
SetState(ITEM_CHANGED); // save new time in database
SetState(ITEM_CHANGED, owner); // save new time in database
}
void Item::SaveToDB()