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>2009-08-18 09:24:15 +0000
committerStijn Buys <ingar@osirion.org>2009-08-18 09:24:15 +0000
commitf030154fe727e25a2afe1f78b3998c2d2dba95e4 (patch)
treecd92baf9e4fa8a136523b9eb570e9811846c9250 /src/game/example/spectator.cc
parent5636fad174f0bcff857c357c394c4cc8d424b302 (diff)
astyle cleanup, corrects not loading of material textures
Diffstat (limited to 'src/game/example/spectator.cc')
-rw-r--r--src/game/example/spectator.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/game/example/spectator.cc b/src/game/example/spectator.cc
index 5fad0f1..93c6fdd 100644
--- a/src/game/example/spectator.cc
+++ b/src/game/example/spectator.cc
@@ -1,12 +1,13 @@
/*
base/spectator.cc
- This file is part of the Osirion project and is distributed under
- the terms and conditions of the GNU General Public License version 2
+ This file is part of the Osirion project and is distributed under
+ the terms and conditions of the GNU General Public License version 2
*/
#include "example/spectator.h"
-namespace example {
+namespace example
+{
core::Cvar *Spectator::g_spectatorspeed = 0;
core::Cvar *Spectator::g_spectatorrotation = 0;
@@ -43,7 +44,7 @@ void Spectator::frame(float elapsed)
get_axis().change_direction(target_direction * rotation);
get_axis().change_pitch(target_pitch * rotation);
get_axis().change_roll(target_roll * rotation);
-
+
// assign speed from thruster
float maxspeed = g_spectatorspeed->value();
entity_speed = entity_thrust * maxspeed;