Browse Source

fixed Std.is enum.

Nicolas Cannasse 19 years ago
parent
commit
276c297d7a
1 changed files with 2 additions and 0 deletions
  1. 2 0
      std/neko/Boot.hx

+ 2 - 0
std/neko/Boot.hx

@@ -76,6 +76,8 @@ class Boot {
 					}
 					c = c.__super__;
 				}
+				if( o.__enum__ == cl )
+					return true;
 				return false;
 			default:
 				return false;