This commit is contained in:
parent
2c6919e7b2
commit
aab3c0ec22
6 changed files with 68 additions and 15 deletions
|
@ -83,6 +83,10 @@
|
|||
#include "hazard\hbbarrel.h"
|
||||
#endif
|
||||
|
||||
#ifndef __HAZARD_HFIREBAL_H__
|
||||
#include "hazard\hfirebal.h"
|
||||
#endif
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
@ -101,6 +105,7 @@ CNpcHazard::NPC_HAZARD_UNIT_TYPE CNpcHazard::mapEditConvertTable[NPC_HAZARD_TYPE
|
|||
NPC_BIG_WHEEL_HAZARD,
|
||||
NPC_DUAL_PLATFORM_BARREL_HAZARD,
|
||||
NPC_BOUNCING_BARREL_HAZARD,
|
||||
NPC_FIREBALL_HAZARD,
|
||||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -191,6 +196,12 @@ CNpcHazard *CNpcHazard::Create(sThingHazard *ThisHazard)
|
|||
break;
|
||||
}
|
||||
|
||||
case NPC_FIREBALL_HAZARD:
|
||||
{
|
||||
hazard = new ("fireball hazard") CNpcFireballHazard;
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
{
|
||||
hazard = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue