Hi

I am using a really simple thing which used to work previously,but
its giving me an error "entity_type is not a member of ENTITY" while
compiling.

Here is the code which causes error :-

Code:
  
if (dist < 6)
{
if (you != NULL)
{
if (you.entity_type == 2)
{
you.skill13 = 1; //hit a dragon
}
}
ent_create("smallbubble.bmp",my.x,puddle);
ent_remove(my);
return;
}



I have already defined entity_type in a wdl file.(with the same name as main c file) like this :-

define entity_type,skill77;

Any ideas why this error

regards
zazang


I like good 'views' because they have no 'strings' attached..