calref / cboe

Classic Blades of Exile
http://spiderwebforums.ipbhost.com/index.php?/forum/12-blades-of-exile/
Other
168 stars 41 forks source link

Fix debug mode (and other universe flags) being randomly set on upon load #261

Closed x-qq closed 4 years ago

x-qq commented 4 years ago

Upon loading a save, a new instance of universe is default-constructed and then moved into existing universe. The problem is that several boolean flags in universe do not have initializers, so they sometimes end up with garbage values.

Fixes #198 Fixes #200

CelticMinstrel commented 4 years ago

I would've used = initializers but whatever, it doesn't matter. Merging.