NickMcConnell / FAangband

First Age Angband
http://nickmcconnell.github.io/FAangband/
85 stars 15 forks source link

Change how chunk_copy() skips ghost not used from the source chunk #424

Closed backwardsEric closed 3 months ago

backwardsEric commented 3 months ago

Also use passed chunk argument rather than cave when resetting the ghost in delete_monster_idx().

Avoids an assertion failure copying over the monster groups when both chunks have a ghost.

This is cleaner than https://github.com/NickMcConnell/FAangband/pull/423 and possible now that delete_monster_idx() takes a chunk argument.

NickMcConnell commented 3 months ago

Thanks for following this up