summaryrefslogtreecommitdiff
path: root/src/resources/npcdb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/npcdb.h')
-rw-r--r--src/resources/npcdb.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/resources/npcdb.h b/src/resources/npcdb.h
index 84ae4e24..b0c89c80 100644
--- a/src/resources/npcdb.h
+++ b/src/resources/npcdb.h
@@ -22,11 +22,7 @@
#ifndef NPC_DB_H
#define NPC_DB_H
-#include "resources/spritedef.h"
-
-#include <map>
-
-typedef std::map<int, SpriteDisplay*> NPCInfos;
+class BeingInfo;
/**
* NPC information database.
@@ -37,9 +33,7 @@ namespace NPCDB
void unload();
- const SpriteDisplay& get(int id);
-
- typedef NPCInfos::iterator NPCInfosIterator;
+ BeingInfo *get(int id);
}
#endif