- [FIX] Si només quedaba el heroi al canviar d'habitació, petava

- [FIX] Algunes capçaleres mal
- Lagueirto en proves
This commit is contained in:
2024-09-30 11:16:26 +02:00
parent a3edcb2684
commit 45bc160ef4
6 changed files with 11 additions and 5 deletions

View File

@@ -418,7 +418,7 @@ namespace actor
void setDirty(actor_t *act, const bool force)
{
if (!act->prev && !act->next)
if (!act->prev && !act->next && !(act==first))
{
act->next = first;
if (first) first->prev = act;