Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2011-05-07 12:19:46 +0000
committerStijn Buys <ingar@osirion.org>2011-05-07 12:19:46 +0000
commit0b3c4498dbb8ef6397c673ccdbf57ed1daeae9db (patch)
tree4516ed258b55dc40fd95fa40d0c198696e313b94
parent8c8cb5775e3f97c67c031e56f18fd4d8bea88f82 (diff)
Corrected a bug that prevented func_move clip from working properly.
-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;
}