summaryrefslogtreecommitdiff
path: root/src/char/HPMchar.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/char/HPMchar.h')
-rw-r--r--src/char/HPMchar.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/char/HPMchar.h b/src/char/HPMchar.h
index 9d367725c..aa266f1de 100644
--- a/src/char/HPMchar.h
+++ b/src/char/HPMchar.h
@@ -4,6 +4,10 @@
#ifndef CHAR_HPMCHAR_H
#define CHAR_HPMCHAR_H
+#ifndef HERCULES_CORE
+#error You should never include HPMchar.h from a plugin.
+#endif
+
#include "../common/cbasetypes.h"
#include "../common/HPM.h"