From 7bdb50605562e47f1d6ae134881c09bd42293be5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 29 May 2015 16:19:21 +0300 Subject: Add strong typed int type BeingTypeId. --- src/resources/db/npcdb.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/resources/db/npcdb.h') diff --git a/src/resources/db/npcdb.h b/src/resources/db/npcdb.h index 283671fba..90b50b1cc 100644 --- a/src/resources/db/npcdb.h +++ b/src/resources/db/npcdb.h @@ -23,7 +23,7 @@ #ifndef RESOURCES_DB_NPCDB_H #define RESOURCES_DB_NPCDB_H -#include "enums/simpletypes/beingid.h" +#include "enums/simpletypes/beingtypeid.h" #include @@ -40,9 +40,9 @@ namespace NPCDB void unload(); - BeingInfo *get(const BeingId id) A_WARN_UNUSED; + BeingInfo *get(const BeingTypeId id) A_WARN_UNUSED; - BeingId getAvatarFor(const BeingId id); + BeingTypeId getAvatarFor(const BeingTypeId id); void loadXmlFile(const std::string &fileName); } // namespace NPCDB -- cgit v1.2.3-70-g09d2