Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/example/spectator.cc')
-rw-r--r--src/game/example/spectator.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/example/spectator.cc b/src/game/example/spectator.cc
index defc356..5fc7fc6 100644
--- a/src/game/example/spectator.cc
+++ b/src/game/example/spectator.cc
@@ -15,7 +15,7 @@ core::Cvar *Spectator::g_spectatorrotation = 0;
Spectator::Spectator(core::Player *owner) : core::EntityControlable()
{
// default properties
- entity_shape = core::Entity::Diamond;
+ set_shape(core::Entity::Diamond);
set_radius(0.25f);
// the spectator gets player color