diff --git a/src/game/hsfload.c b/src/game/hsfload.c
index bd50a3e5..65b23684 100644
--- a/src/game/hsfload.c
+++ b/src/game/hsfload.c
@@ -886,6 +886,26 @@ static void ShapeLoad(void)
}
}
+static void MapAttrLoad(void)
+{
+ s32 i;
+ HsfMapAttr *mapattr_base;
+ HsfMapAttr *mapattr_file;
+ HsfMapAttr *mapattr_new;
+ s16 *data;
+
+ if(head.mapAttr.count) {
+ mapattr_file = mapattr_base = (HsfMapAttr *)((u32)fileptr+head.mapAttr.ofs);
+ mapattr_new = mapattr_base;
+ Model.mapAttrCnt = head.mapAttr.count;
+ Model.mapAttr = mapattr_base;
+ data = (s16 *)&mapattr_base[head.mapAttr.count];
+ for(i=0; i
data = &data[(u32)mapattr_file->data];
+ }
+ }
+}
+
static void BitmapLoad(void)
{
HsfBitmap *bitmap_file;
@@ -1388,26 +1408,6 @@ static void MatrixLoad(void)
}
}
-static void MapAttrLoad(void)
-{
- s32 i;
- HsfMapAttr *mapattr_base;
- HsfMapAttr *mapattr_file;
- HsfMapAttr *mapattr_new;
- s16 *data;
-
- if(head.mapAttr.count) {
- mapattr_file = mapattr_base = (HsfMapAttr *)((u32)fileptr+head.mapAttr.ofs);
- mapattr_new = mapattr_base;
- Model.mapAttrCnt = head.mapAttr.count;
- Model.mapAttr = mapattr_base;
- data = (s16 *)&mapattr_base[head.mapAttr.count];
- for(i=0; idata = &data[(u32)mapattr_file->data];
- }
- }
-}
-
static s32 SearchObjectSetName(HsfData *data, char *name)
{
HsfObject *object = data->object;