From 8b356bcd3cab06db7a47f464bffef7a1b62f2d30 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Tue, 29 Jul 2008 14:47:17 +0000 Subject: ClientState constructor cleanup --- src/core/clientstate.cc | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/core') 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); } -- cgit v1.2.3