mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-20 04:26:03 +08:00
Added original SDK code for Alien Swarm.
This commit is contained in:
19
game/client/c_func_brush.cpp
Normal file
19
game/client/c_func_brush.cpp
Normal file
@ -0,0 +1,19 @@
|
||||
#include "cbase.h"
|
||||
#include "c_func_brush.h"
|
||||
|
||||
// memdbgon must be the last include file in a .cpp file!!!
|
||||
#include "tier0/memdbgon.h"
|
||||
|
||||
IMPLEMENT_CLIENTCLASS_DT( C_FuncBrush, DT_FuncBrush, CFuncBrush )
|
||||
END_RECV_TABLE()
|
||||
|
||||
|
||||
void C_FuncBrush::OnDataChanged( DataUpdateType_t type )
|
||||
{
|
||||
BaseClass::OnDataChanged( type );
|
||||
|
||||
bool bCreate = (type == DATA_UPDATE_CREATED) ? true : false;
|
||||
VPhysicsShadowDataChanged(bCreate, this);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user