From b14e7de95edebef9482127b2ef1c7dd2c9138293 Mon Sep 17 00:00:00 2001 From: Relintai Date: Wed, 16 Oct 2019 13:28:50 +0200 Subject: [PATCH] Added BASE_XP into EntityEnums. --- entity_enums.cpp | 1 + entity_enums.h | 1 + 2 files changed, 2 insertions(+) diff --git a/entity_enums.cpp b/entity_enums.cpp index f88406f..f72e427 100644 --- a/entity_enums.cpp +++ b/entity_enums.cpp @@ -171,4 +171,5 @@ void EntityEnums::_bind_methods() { BIND_ENUM_CONSTANT(ENTITY_CLASS_PLAYSTYLE_TYPE_NONE); BIND_CONSTANT(MAX_LEVEL); + BIND_CONSTANT(BASE_XP); } diff --git a/entity_enums.h b/entity_enums.h index d28c144..b35e3d0 100644 --- a/entity_enums.h +++ b/entity_enums.h @@ -217,6 +217,7 @@ public: enum { MAX_LEVEL = 50, + BASE_XP = 50, }; EntityEnums() {}