diff options
Diffstat (limited to 'src/model')
-rw-r--r-- | src/model/mapfile.cc | 8 |
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; } |