summaryrefslogtreecommitdiff
path: root/src/tile.h
diff options
context:
space:
mode:
authorunknown <gregory.currie@gmail.com>2014-12-18 23:25:36 +1100
committerCraig Robbins <kde.psych@gmail.com>2014-12-21 02:41:17 +1000
commit1e8e700ee645fa642e868c79c2717c82d3509f55 (patch)
treecce5e4aa931cf593d6252e88d786a0a9ef304559 /src/tile.h
parent0d55f43977080435c6e67a2851fb343dc65e153c (diff)
downloadminetest-1e8e700ee645fa642e868c79c2717c82d3509f55.tar.gz
minetest-1e8e700ee645fa642e868c79c2717c82d3509f55.tar.bz2
minetest-1e8e700ee645fa642e868c79c2717c82d3509f55.zip
Change TileSpec::frames to be std::vector not std::map
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
Diffstat (limited to 'src/tile.h')
-rw-r--r--src/tile.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tile.h b/src/tile.h
index f4dc572e7..ea7a9135a 100644
--- a/src/tile.h
+++ b/src/tile.h
@@ -27,7 +27,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include <IrrlichtDevice.h>
#include "threads.h"
#include <string>
-#include <map>
+#include <vector>
class IGameDef;
@@ -272,7 +272,7 @@ struct TileSpec
// Animation parameters
u8 animation_frame_count;
u16 animation_frame_length_ms;
- std::map<u32, FrameSpec> frames;
+ std::vector<FrameSpec> frames;
u8 rotation;
};