forked from mirrors/0ad
f2b3c4d8ec
This fixes a rare crash at map generation. The water renderer could be left in an invalid state when exiting a game, and would then crash on the next map generation in some cases. Tested by: Stan Differential Revision: https://code.wildfiregames.com/D3447 This was SVN commit r24759.