Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: when a themeroom failed, xstart/ystart weren't reset
Revealed this bug when testing the previous commit: Themed room generation with a randomly placed map involves picking a single random point on the map at which to plop it down, and then declaring the themed room failed and exiting if it would go beyond the map bounds or overlaps with an existing room. In the process, xstart/ystart/xsize/ysize have been modified, but weren't getting reset. (They would get reset if the map successfully got placed and it had a contents function, as of commit 4af086b, but there wasn't handling for the failure to place it.)
- Loading branch information