PDA

View Full Version : Tag mismatch


drekes
06-27-2010, 11:55
I'm having trouble with a tag mismatch, i spend about 2 hours trying to figure out what's wrong, but i can't find it.


enum cmds
{
NONE,
JUMP,
DUCK,
ATTACK,
FORWARD,
BACK,
USE,
MOVELEFT,
MOVERIGHT,
ATTACK2,
RUN,
RELOAD,
SCORE
};

new cmds: move;

enum stuff
{
NONE,
STUFF,
MORESTUFF
};

new stuff: things;

public Event_RoundStart()
{
move = NONE; // Tag mismatch here
things = NONE; // This works fine
}

drekes
06-27-2010, 12:20
It's fixed. I can't have 2 times NONE.