optimizations + bugfixes

* Bombs explode on damage/explosion
* Orbits spell fixed
* Performance: implemented shared component indexes,
compiled Lua caching, and updates only for changed projectile fields.
Also removed accumulating hidden entity slots.
This commit is contained in:
Gaël committed 2026-10-20 11:02:18 +02:00
1 parent 87bff164f1
commit a34f42d53e
17 files changed
+727 -131

No files matched your search

+1
View File
@@ -153,6 +153,7 @@ public:
void remove(int item) {
const Loc l = where(item);
take(item);
if (item && gun_.equipped() == item) gun_.equip(0);
(void)l;
}