moved flag for mouse click events from level to game structure
authorHolger Schemel <info@artsoft.org>
Mon, 20 Apr 2020 21:12:06 +0000 (23:12 +0200)
committerHolger Schemel <info@artsoft.org>
Tue, 19 May 2020 16:21:18 +0000 (18:21 +0200)
commitf681967164edaa7709d1082327fa7c309e05fd87
tree037ca42fb0085c9979cd180ec599b08abbaf556e
parentfc75248be965e2d68ebc16af009fefb30e9ac370
moved flag for mouse click events from level to game structure

Without this change, click events for newly built levels that are
started from the level editor, but that are not yet saved, are not
recognized and not handled (because the corresponding flag was set
only when loading a level).
src/events.c
src/files.c
src/game.c
src/game.h
src/main.h