This commit is contained in:
Charles 2001-05-22 22:01:43 +00:00
parent ab7f46a43a
commit ee7900960a
6 changed files with 33 additions and 1 deletions

View file

@ -91,6 +91,10 @@
#include "hazard\hrrock.h"
#endif
#ifndef __HAZARD_HFLYTRAP_H__
#include "hazard\hflytrap.h"
#endif
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@ -111,6 +115,7 @@ CNpcHazard::NPC_HAZARD_UNIT_TYPE CNpcHazard::mapEditConvertTable[NPC_HAZARD_TYPE
NPC_BOUNCING_BARREL_HAZARD,
NPC_FIREBALL_HAZARD,
NPC_ROLLING_ROCK_HAZARD,
NPC_FLY_TRAP_HAZARD,
};
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@ -213,6 +218,12 @@ CNpcHazard *CNpcHazard::Create(sThingHazard *ThisHazard)
break;
}
case NPC_FLY_TRAP_HAZARD:
{
hazard = new ("fly trap hazard") CNpcFlyTrapHazard;
break;
}
default:
{
hazard = NULL;