summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/asset_packer.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/asset_packer.cc b/tools/asset_packer.cc
index c803c02..e606b94 100644
--- a/tools/asset_packer.cc
+++ b/tools/asset_packer.cc
@@ -112,6 +112,8 @@ int main(int argc, char* argv[]) {
++asset_id_counter;
}
+ // Add ASSET_LAST_ID at the end
+ assets_h_file << " ASSET_LAST_ID = " << asset_id_counter << "\n";
assets_h_file << "};\n\n";
assets_h_file << "#include \"util/asset_manager.h\"\n";
assets_h_file.close();