diff options
Diffstat (limited to 'src/being')
-rw-r--r-- | src/being/being.cpp | 3 | ||||
-rw-r--r-- | src/being/being.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp index 523d19331..4109e01a4 100644 --- a/src/being/being.cpp +++ b/src/being/being.cpp @@ -3084,7 +3084,8 @@ std::string Being::loadComment(const std::string &name, } void Being::saveComment(const std::string &restrict name, - const std::string &restrict comment, const int type) + const std::string &restrict comment, + const ActorType::Type &restrict type) { std::string dir; switch (type) diff --git a/src/being/being.h b/src/being/being.h index 52a2a5fc7..6364f8aed 100644 --- a/src/being/being.h +++ b/src/being/being.h @@ -755,7 +755,7 @@ class Being notfinal : public ActorSprite, static void saveComment(const std::string &restrict name, const std::string &restrict comment, - const int type); + const ActorType::Type &restrict type); bool isAdvanced() const A_WARN_UNUSED { return mAdvanced; } |