Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-07-29 14:47:17 +0000
committerStijn Buys <ingar@osirion.org>2008-07-29 14:47:17 +0000
commit8b356bcd3cab06db7a47f464bffef7a1b62f2d30 (patch)
tree6dfd460c0e313d1576b8baf5c176dcd8abac3114 /src/core
parent7135476fc282ad62373347af2118fbe421415966 (diff)
ClientState constructor cleanup
Diffstat (limited to 'src/core')
-rw-r--r--src/core/clientstate.cc8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/core/clientstate.cc b/src/core/clientstate.cc
index 8e6606d..57802fa 100644
--- a/src/core/clientstate.cc
+++ b/src/core/clientstate.cc
@@ -14,7 +14,6 @@ ClientState::ClientState()
state_visible = false;
state_detailvisible = false;
state_targetable = false;
-
state_enginesound = 0;
for (size_t i = 0; i < 3; i++)
@@ -26,12 +25,7 @@ ClientState::ClientState()
ClientState::ClientState(Entity *entity)
{
- state_visible = false;
- state_detailvisible = false;
- state_fuzz = math::randomf();
-
- state_enginesound = 0;
-
+ ClientState();
assign(entity);
}