From 0b3c4498dbb8ef6397c673ccdbf57ed1daeae9db Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 7 May 2011 12:19:46 +0000 Subject: Corrected a bug that prevented func_move clip from working properly. --- src/model/mapfile.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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; } -- cgit v1.2.3