Memory errors when loading map that changes weather
I discovered this bug because people were unable to join my server when it was on Stormy Castle Zone.
I discovered that this is related to precipation by looking at the output of valgrind
I created a minimal reproducer: test.wad
Steps to reproduce:
- srb2 -file test.wad -server
- wait for the map to load
- srb2 -connect localhost
- Observe that the second srb2 instance crashes with a segfault or invalid backwards link.
Removing the change weather action on the linedef resolves this issue.