diff options
author | Stijn Buys <ingar@osirion.org> | 2008-07-29 14:47:17 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-07-29 14:47:17 +0000 |
commit | 8b356bcd3cab06db7a47f464bffef7a1b62f2d30 (patch) | |
tree | 6dfd460c0e313d1576b8baf5c176dcd8abac3114 /src | |
parent | 7135476fc282ad62373347af2118fbe421415966 (diff) |
ClientState constructor cleanup
Diffstat (limited to 'src')
-rw-r--r-- | src/core/clientstate.cc | 8 |
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); } |