diff options
author | Stijn Buys <ingar@osirion.org> | 2009-08-16 16:32:38 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2009-08-16 16:32:38 +0000 |
commit | 95cc140404c6524ea16e193e1421e826b239114f (patch) | |
tree | 3b4b2bf3ab9f4ee948192c1b37f265fe9127c21b /src/game/intro | |
parent | 6f00effd8f95ad8698d077e6c21426b00d1d02b1 (diff) |
more constness, initial patchDef2 support in MapFile, reverse engine disables impulse drive, r_axis support
Diffstat (limited to 'src/game/intro')
-rw-r--r-- | src/game/intro/convoy.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/intro/convoy.cc b/src/game/intro/convoy.cc index 9e13ae5..a0cc27c 100644 --- a/src/game/intro/convoy.cc +++ b/src/game/intro/convoy.cc @@ -27,7 +27,7 @@ Member::~Member() void Member::frame(float seconds) { - entity_location += axis().forward() * speed() * thrust() * seconds; + get_location() += axis().forward() * speed() * thrust() * seconds; } /* ---- class Convoy ----------------------------------------------- */ @@ -38,8 +38,8 @@ Convoy::Convoy(core::Zone *zone) : core::EntityDynamic() set_label("convoy"); set_name("Convoy"); - entity_speed = 1; - entity_serverside = true; + entity_speed = 1.0f; + set_serverside(); } Convoy::~Convoy() |