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>2010-11-12 14:43:49 +0000
committerStijn Buys <ingar@osirion.org>2010-11-12 14:43:49 +0000
commitc0c2a0ccc335b00983bf69b99b7a44505ed24b47 (patch)
treeaed98bf43957595104810e6ba7d1ab278d2e8089 /src/game/intro/convoy.cc
parentd07d7e0d0ba022d555f418e9a072d71c190ed225 (diff)
made core::Entity::entity_shape a private attribute
Diffstat (limited to 'src/game/intro/convoy.cc')
-rw-r--r--src/game/intro/convoy.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/intro/convoy.cc b/src/game/intro/convoy.cc
index b037b0b..f69dd13 100644
--- a/src/game/intro/convoy.cc
+++ b/src/game/intro/convoy.cc
@@ -42,7 +42,7 @@ Convoy::Convoy(core::Zone *zone) : core::EntityDynamic()
set_label("convoy");
set_name("Convoy");
- entity_speed = 1.0f;
+ set_speed(1.0f);
set_serverside();
}
@@ -67,7 +67,7 @@ void Convoy::add(const std::string &model)
member->get_color_second().assign(color_second());
member->entity_thrust = 1.0f;
- member->entity_speed = speed();
+ member->set_speed(speed());
member->get_location().assign(location());
d = ((float) convoy_members.size()) * 0.5f;