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>2012-11-11 20:56:30 +0000
committerStijn Buys <ingar@osirion.org>2012-11-11 20:56:30 +0000
commit7bec374404aa1a0b30c220aee49b4a9890437f75 (patch)
tree8800c5623039b59bd781d4310e0c9c966e3b2b8e /src/game/intro/convoy.cc
parent89d8f7f384dcd6c201288bf6fe86ab19e59e1a5c (diff)
Cleaned up core::EntyControlable client-side and server-side proprties API.
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 8a436bb..47f997c 100644
--- a/src/game/intro/convoy.cc
+++ b/src/game/intro/convoy.cc
@@ -23,7 +23,7 @@ Member::Member(std::string const &modelname) : core::EntityControlable()
set_radius(model()->radius());
}
- entity_thrust = 1.0f;
+ set_thrust(1.0f);
}
Member::~Member()
@@ -69,7 +69,7 @@ void Convoy::add(const std::string &modelname)
member->get_color().assign(color());
member->get_color_second().assign(color_second());
- member->entity_thrust = 1.0f;
+ member->set_thrust(1.0f);
member->set_speed(speed());
member->get_location().assign(location());