diff options
Diffstat (limited to 'src/being.cpp')
-rw-r--r-- | src/being.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/being.cpp b/src/being.cpp index 5230edeae..f414400be 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -2220,6 +2220,12 @@ void Being::undressItemById(int id) } } +void Being::clearCache() +{ + delete_all(beingInfoCache); + beingInfoCache.clear(); +} + BeingEquipBackend::BeingEquipBackend(Being *being): mBeing(being) { |