#include "stinc.h"
#include "stgame.h"
#include "stgamectf.h"

gzGameCTF::gzGameCTF()
{
	this->RegisterEvent(EVT_OBJECT_DAMAGE);
}
void gzGameCTF::Object_Damaged(gzEventObjectDamage &evt)
{
	if (evt.m_defender && evt.m_defender->As_BuildingGameObj())
		evt.Skip();
}
