From a3cfb9c4634e3ce7e052e72ce564d25e5367a430 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 15 Aug 2009 13:25:37 +0000 Subject: API cleanups, const optimizations, submodel lights/flares/particles import --- src/game/intro/intro.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/intro/intro.cc') diff --git a/src/game/intro/intro.cc b/src/game/intro/intro.cc index 3fafa0f..05dcec7 100644 --- a/src/game/intro/intro.cc +++ b/src/game/intro/intro.cc @@ -104,10 +104,10 @@ bool Intro::load_world() convoy->set_color_second(color); } else if (ini.got_key_vector3f("location", v)) { - convoy->entity_location.assign(v); + convoy->get_location().assign(v); } else if (ini.got_key_float("direction", f)) { - convoy->axis().change_direction(f); + convoy->get_axis().change_direction(f); } else if (ini.got_key_float("speed", f)) { convoy->entity_speed = f; -- cgit v1.2.3