Przeglądaj źródła

Merge branch 'master' of https://github.com/taylor001/crown

mikymod 11 lat temu
rodzic
commit
b418d7d524
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      engine/resource/PackageResource.cpp

+ 1 - 1
engine/resource/PackageResource.cpp

@@ -100,7 +100,7 @@ void compile(Filesystem& fs, const char* resource_path, File* out_file)
 	bw.write(offt);
 
 	bw.write(num_phyconfs);
-	offt += sizeof(ResourceId) * num_phyconfs;
+	offt += sizeof(ResourceId) * num_levels;
 	bw.write(offt);
 
 	// Write resource ids