fixes for trigger onenter/onleave

1- corrects onleavetrigger for deletions
2-adds a testObjects to trip onenter when creating or moving a trigger itself so that that will list objects already there as opposed to only going off when something moves into it
This commit is contained in:
AzaezelX 2020-06-13 12:12:52 -05:00
parent 341c7eeee1
commit 8ecb474a67
2 changed files with 21 additions and 2 deletions

View file

@ -123,6 +123,7 @@ class Trigger : public GameBase
static void consoleInit();
static void initPersistFields();
void testObjects();
bool onAdd();
void onRemove();
void onDeleteNotify(SimObject*);