Allows subtypes to understand/speak to the parent type.

This commit is contained in:
Zuhayr
2013-08-16 13:41:35 -07:00
parent 319bdcc069
commit 72822b7f73

View File

@@ -83,7 +83,7 @@
return 1
else if(isAI(src) && ispAI(other))
return 1
else if (istype(other, src.type))
else if (istype(other, src.type) || istype(src.type, other))
return 1
return 0