Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/model/map.h')
-rw-r--r--src/model/map.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/model/map.h b/src/model/map.h
index e38b9ec..d7b01d7 100644
--- a/src/model/map.h
+++ b/src/model/map.h
@@ -10,6 +10,7 @@
#include <string>
#include <vector>
+#include "model/material.h"
#include "model/model.h"
#include "model/plane.h"
#include "model/primitives.h"
@@ -33,7 +34,7 @@ private:
~Map();
/// tpye definition for a per-material list of Primitives
- typedef std::map<unsigned int, Primitives *> Materials;
+ typedef std::map<Material *, Primitives *> Materials;
/// open the file for reading
/** the filename will get the "maps/" prefix and ".map" suffix