Skip to content

Commit

Permalink
Fixed crash when starting the editor (fixes #2816)
Browse files Browse the repository at this point in the history
If no display_context was passed to the display ctor (such as is the case in the editor),
the terrain_builder's gamemap pointer would be null. Really not sure why this didn't cause
a crash n the 1.14 branch, but oh well.

I just removed the ctor call to rebuild_all() since it's not really needed. The map is
rebuilt when change_display_context is called anyway, which both the editor_controller and
play_controller do.
  • Loading branch information
Vultraz authored and CelticMinstrel committed Oct 24, 2018
1 parent 50e27af commit a638e8c
Showing 1 changed file with 923 additions and 2,006 deletions.

0 comments on commit a638e8c

Please sign in to comment.