diff options
author | Stijn Buys <ingar@osirion.org> | 2011-05-07 12:19:46 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2011-05-07 12:19:46 +0000 |
commit | 0b3c4498dbb8ef6397c673ccdbf57ed1daeae9db (patch) | |
tree | 4516ed258b55dc40fd95fa40d0c198696e313b94 /src/model | |
parent | 8c8cb5775e3f97c67c031e56f18fd4d8bea88f82 (diff) |
Corrected a bug that prevented func_move clip from working properly.
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; } |