summaryrefslogtreecommitdiff
path: root/src/graphic/graphic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphic/graphic.cpp')
-rw-r--r--src/graphic/graphic.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/graphic/graphic.cpp b/src/graphic/graphic.cpp
index e05842d6..40a00aa4 100644
--- a/src/graphic/graphic.cpp
+++ b/src/graphic/graphic.cpp
@@ -204,10 +204,13 @@ GraphicEngine::GraphicEngine() {
emotionset = new Spriteset("./data/graphic/emotionset.dat");
hairset = new Spriteset("./data/graphic/hairset.dat");
- monsterset = new Spriteset("./data/graphic/monsterset.dat");
npcset = new Spriteset("./data/graphic/npcset.dat");
playerset = new Spriteset("./data/graphic/playerset.dat");
tileset = new Spriteset("./data/graphic/tileset.dat");
+
+ BITMAP *monsterbitmap = load_bitmap("data/graphic/monsterset.bmp", NULL);
+ if (!monsterbitmap) error("Unable to load monsterset.bmp");
+ monsterset = new Spriteset(monsterbitmap, 60, 60);
}
GraphicEngine::~GraphicEngine() {