From 08fea0eea1c0e3f2ed472e9113d941eb28dc8643 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johnny=20Bergstr=C3=B6m?= Date: Mon, 15 Nov 2004 00:20:28 +0000 Subject: [PATCH] Removed some unneeded stuff from class. --- dlls/cstrike/CstrikePlayer.cpp | 18 ------------------ dlls/cstrike/CstrikePlayer.h | 5 ----- 2 files changed, 23 deletions(-) diff --git a/dlls/cstrike/CstrikePlayer.cpp b/dlls/cstrike/CstrikePlayer.cpp index 90949a93..cd72d55f 100755 --- a/dlls/cstrike/CstrikePlayer.cpp +++ b/dlls/cstrike/CstrikePlayer.cpp @@ -13,7 +13,6 @@ CCstrikePlayer::CCstrikePlayer() { modelled = false; inspectModel = false; - online = false; } bool CCstrikePlayer::GetModelled() @@ -48,20 +47,3 @@ void CCstrikePlayer::SetInspectModel(bool inspectModelIn) { inspectModel = inspectModelIn; } - -bool CCstrikePlayer::GetOnline() -{ - return online; -} - -void CCstrikePlayer::SetOnline(bool onlineIn) -{ - online = onlineIn; -} - -void CCstrikePlayer::Initialize() -{ - SetModelled(false); - SetInspectModel(false); - SetOnline(false); -} \ No newline at end of file diff --git a/dlls/cstrike/CstrikePlayer.h b/dlls/cstrike/CstrikePlayer.h index 75c4aee3..177b17d9 100755 --- a/dlls/cstrike/CstrikePlayer.h +++ b/dlls/cstrike/CstrikePlayer.h @@ -10,8 +10,6 @@ class CCstrikePlayer public: CCstrikePlayer(); - void Initialize(); - bool GetModelled(); bool SetModelled(bool modelledIn); const char* GetModel(); @@ -20,13 +18,10 @@ public: bool GetInspectModel(); void SetInspectModel(bool inspectModelIn); - bool GetOnline(); - void SetOnline(bool onlineIn); private: bool inspectModel; bool modelled; - bool online; char model[32]; };