- [FIX] Solventats els problemes de memòria al eliminar un actor
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user