Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/model/mapfile.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/model/mapfile.cc b/src/model/mapfile.cc
index 270d63f..8dc9d0e 100644
--- a/src/model/mapfile.cc
+++ b/src/model/mapfile.cc
@@ -1337,13 +1337,13 @@ void MapFile::load_fragmentgroup(Model *model, const FragmentGroup::Type class_t
break;
case FragmentGroup::Move:
- group->set_speed(class_speed);
- group->set_distance(class_distance);
- group->set_movement(class_axis.forward());
+ collisionmesh->set_speed(class_speed);
+ collisionmesh->set_distance(class_distance);
+ collisionmesh->set_movement(class_axis.forward());
break;
case FragmentGroup::Door:
- group->set_speed(class_speed);
+ collisionmesh->set_speed(class_speed);
break;
}