summaryrefslogtreecommitdiff
path: root/game/server/tf2/order_player.cpp
blob: 3cd90431d08e21a8474b51aef53ed4505e324a5d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: 
//
// $NoKeywords: $
//=============================================================================//

#include "cbase.h"

#include "order_player.h"


IMPLEMENT_SERVERCLASS_ST( COrderPlayer, DT_OrderPlayer )
END_SEND_TABLE()



bool COrderPlayer::UpdateOnEvent( COrderEvent_Base *pEvent )
{
	// All player orders give up if the player disconnects
	if ( pEvent->GetType() == ORDER_EVENT_PLAYER_DISCONNECTED )
		return true;

	return BaseClass::UpdateOnEvent( pEvent );
}