theoretical triggers that have no read function are ok.

This commit is contained in:
Enno Rehling 2021-06-20 00:25:07 +02:00
parent 1531ad9a7e
commit 0f9cbf8079
1 changed files with 4 additions and 0 deletions

View File

@ -60,6 +60,10 @@ int read_triggers(struct gamedata *data, trigger ** tp)
break;
}
}
else {
*tp = tr;
tp = &tr->next;
}
}
return 0;
}