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>2008-08-10 18:48:23 +0000
committerStijn Buys <ingar@osirion.org>2008-08-10 18:48:23 +0000
commit9c56ebfdba5fe33476f8d382da6d72e5b81ab4b8 (patch)
tree3dfee7a93cd591df8ef3a0aef811067ef6451df7 /src/core/player.cc
parentae96accdd3c38d3f96b0725020e7a390c53b86d5 (diff)
added racetrack to the game module, added Odin's new structures to the assets documentation
Diffstat (limited to 'src/core/player.cc')
-rw-r--r--src/core/player.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/player.cc b/src/core/player.cc
index fafb052..1a610ca 100644
--- a/src/core/player.cc
+++ b/src/core/player.cc
@@ -15,6 +15,7 @@ namespace core
Player::Player()
{
+ player_control = 0;
clear();
}
@@ -34,6 +35,7 @@ void Player::clear()
player_mute = false;
clear_assets();
+ player_control = 0;
}
void Player::set_control(EntityControlable *entitycontrolable)