summaryrefslogtreecommitdiff
path: root/src/actions/actions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions/actions.cpp')
-rw-r--r--src/actions/actions.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp
index 1f7df9c9d..1e7a9ad5b 100644
--- a/src/actions/actions.cpp
+++ b/src/actions/actions.cpp
@@ -96,6 +96,7 @@
#include "net/tradehandler.h"
#include "resources/iteminfo.h"
+#include "resources/memorymanager.h"
#include "resources/resourcemanager.h"
#include "const/resources/skill.h"
@@ -1783,4 +1784,10 @@ impHandler(seen)
return true;
}
+impHandler0(dumpMemoryUsage)
+{
+ memoryManager.printAllMemory();
+ return true;
+}
+
} // namespace Actions