2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-17 08:07:02 +00:00

Only allocate particle buffers as needed, greatly improves performance and removes certain hacks

This commit is contained in:
2021-04-18 16:53:51 -07:00
parent 1039424737
commit 1654333a16
4 changed files with 62 additions and 29 deletions

View File

@@ -180,7 +180,6 @@ void CPhazonPool::Think(float dt, CStateManager& mgr) {
}
}
if (shouldFree) {
fmt::print(FMT_STRING("Freeing myself! ({})"), GetUniqueId());
mgr.FreeScriptObject(GetUniqueId());
}
}