This commit is contained in:
parent
1ce7ff3654
commit
88f6cba095
3 changed files with 14 additions and 6 deletions
|
@ -35,6 +35,10 @@
|
|||
#include "triggers\twater.h"
|
||||
#endif
|
||||
|
||||
#ifndef __TRIGGERS_TPLATFRM_H__
|
||||
#include "triggers\tplatfrm.h"
|
||||
#endif
|
||||
|
||||
#ifndef __GAME_GAME_H__
|
||||
#include "game\game.h"
|
||||
#endif
|
||||
|
@ -76,6 +80,10 @@ CTrigger *trigger;
|
|||
case TRIGGER_OUTWATER:
|
||||
trigger=(COutOfWaterTrigger*)new ("OutOfWaterTrigger") COutOfWaterTrigger();
|
||||
break;
|
||||
|
||||
case TRIGGER_PLATFORM:
|
||||
trigger = (CPlatformTrigger*)new ("PlatformTrigger") CPlatformTrigger();
|
||||
break;
|
||||
default:
|
||||
trigger=NULL;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue