Ver Fonte

fix for latest haxe

ncannasse há 7 anos atrás
pai
commit
656d05136b
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      hxsl/Globals.hx

+ 2 - 2
hxsl/Globals.hx

@@ -57,8 +57,8 @@ class Globals {
 		return i;
 	}
 
-	static var ALL;
-	static var MAP;
+	static var ALL : Array<String>;
+	static var MAP : #if flash haxe.ds.UnsafeStringMap<Int> #else Map<String,Int> #end;
 	public static function allocID( path : String ) {
 		if( MAP == null ) {
 			#if flash