mirror of
https://github.com/mangosfour/server.git
synced 2025-12-20 07:37:02 +00:00
[7227] Implement prismatic sockets. Related code cleanups.
Big thanks to TOM_RUS for help in reseach!
This commit is contained in:
parent
2c7216ac8c
commit
fdd8176d74
10 changed files with 134 additions and 42 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue