I found what it was, it was a stupid misspelling.

I have this skill:

#define typeAI skill18
#define tankAI 1
#define bazAI 2
#define mineAI 3
#define bossAI 4

And I mistakenly put this in the actions of my enemies:

action landMine()
{
...
my.type = mineAI;
...
}

action eTank()
{
...
my.type = tankAI;
...
}

etc.


I was once Anonymous_Alcoholic.

Code Breakpoint;