- [FIX] Solventats els problemes de memòria al eliminar un actor

This commit is contained in:
2024-10-09 12:03:16 +02:00
parent ac4e1f3298
commit cabbb52cbb
2 changed files with 32 additions and 3 deletions

View File

@@ -109,6 +109,7 @@ namespace actor
int tag;
int template_category;
bool alive;
};
void resetTag();
@@ -169,6 +170,10 @@ namespace actor
void remove(actor_t *act);
void sendToPurgatory(actor_t *act);
void cleanPurgatory();
void pick(actor_t *act);
actor_t *getPicked();