aboutsummaryrefslogtreecommitdiff
path: root/mp/src/game/server/hl2/item_security.cpp
diff options
context:
space:
mode:
authorNarendra Umate <[email protected]>2013-12-02 23:36:05 -0800
committerNarendra Umate <[email protected]>2013-12-02 23:36:05 -0800
commit8737f191f3b59f001a77bf6c08091109211c1c9f (patch)
treedbbf05c004d9b026f2c1f23f06600fe0add82c36 /mp/src/game/server/hl2/item_security.cpp
parentUpdate .gitignore. (diff)
parentMake .xcconfigs text files too. (diff)
downloadsource-sdk-2013-8737f191f3b59f001a77bf6c08091109211c1c9f.tar.xz
source-sdk-2013-8737f191f3b59f001a77bf6c08091109211c1c9f.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'mp/src/game/server/hl2/item_security.cpp')
-rw-r--r--mp/src/game/server/hl2/item_security.cpp88
1 files changed, 44 insertions, 44 deletions
diff --git a/mp/src/game/server/hl2/item_security.cpp b/mp/src/game/server/hl2/item_security.cpp
index b07579a3..85d774b2 100644
--- a/mp/src/game/server/hl2/item_security.cpp
+++ b/mp/src/game/server/hl2/item_security.cpp
@@ -1,44 +1,44 @@
-//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-// $NoKeywords: $
-//
-//=============================================================================//
-/*
-
-===== item_security.cpp ========================================================
-
- handling for the security item
-*/
-
-#include "cbase.h"
-#include "player.h"
-//#include "weapons.h"
-#include "gamerules.h"
-#include "items.h"
-
-class CItemSecurity : public CItem
-{
-public:
- DECLARE_CLASS( CItemSecurity, CItem );
-
- void Spawn( void )
- {
- Precache( );
- SetModel( "models/w_security.mdl" );
- BaseClass::Spawn( );
- }
- void Precache( void )
- {
- PrecacheModel ("models/w_security.mdl");
- }
- bool MyTouch( CBasePlayer *pPlayer )
- {
- pPlayer->m_rgItems[ITEM_SECURITY] += 1;
- return true;
- }
-};
-
-LINK_ENTITY_TO_CLASS(item_security, CItemSecurity);
-
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+// $NoKeywords: $
+//
+//=============================================================================//
+/*
+
+===== item_security.cpp ========================================================
+
+ handling for the security item
+*/
+
+#include "cbase.h"
+#include "player.h"
+//#include "weapons.h"
+#include "gamerules.h"
+#include "items.h"
+
+class CItemSecurity : public CItem
+{
+public:
+ DECLARE_CLASS( CItemSecurity, CItem );
+
+ void Spawn( void )
+ {
+ Precache( );
+ SetModel( "models/w_security.mdl" );
+ BaseClass::Spawn( );
+ }
+ void Precache( void )
+ {
+ PrecacheModel ("models/w_security.mdl");
+ }
+ bool MyTouch( CBasePlayer *pPlayer )
+ {
+ pPlayer->m_rgItems[ITEM_SECURITY] += 1;
+ return true;
+ }
+};
+
+LINK_ENTITY_TO_CLASS(item_security, CItemSecurity);
+