fix onReceiveMail notification:

https://github.com/TwistedScorpio/Nostalrius/issues/53
This commit is contained in:
ErikasKontenis
2019-12-29 20:24:02 +02:00
parent a58e99cace
commit b0f1fd5239
7 changed files with 42 additions and 10 deletions

View File

@@ -32,6 +32,7 @@ class Container;
class Depot;
class Teleport;
class Mailbox;
class DepotLocker;
class Door;
class MagicField;
class BedItem;
@@ -376,6 +377,12 @@ class Item : virtual public Thing
virtual const Mailbox* getMailbox() const {
return nullptr;
}
virtual DepotLocker* getDepotLocker() {
return nullptr;
}
virtual const DepotLocker* getDepotLocker() const {
return nullptr;
}
virtual Door* getDoor() {
return nullptr;
}