Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
Diffstat (limited to 'src/game')
-rw-r--r--src/game/intro/convoy.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/intro/convoy.cc b/src/game/intro/convoy.cc
index a0cc27c..ac52c38 100644
--- a/src/game/intro/convoy.cc
+++ b/src/game/intro/convoy.cc
@@ -68,9 +68,9 @@ void Convoy::add(const std::string &model)
member->get_location().assign(location());
d = ((float) convoy_members.size()) * 0.5f;
- member->get_location().x += math::randomf((float) convoy_members.size()) -d;
- member->get_location().y += math::randomf((float) convoy_members.size()) -d;
- member->get_location().z += (math::randomf((float) convoy_members.size()) -d) * 0.5f;
+ member->get_location().get_x() += math::randomf((float) convoy_members.size()) -d;
+ member->get_location().get_y() += math::randomf((float) convoy_members.size()) -d;
+ member->get_location().get_z() += (math::randomf((float) convoy_members.size()) -d) * 0.5f;
member->get_axis().assign(axis());
}