diff --git a/hyper.h b/hyper.h index 6ed44ab1..e0ee1d98 100644 --- a/hyper.h +++ b/hyper.h @@ -3936,7 +3936,7 @@ heptagon* encodeId(int id); void virtualRebaseSimple(heptagon*& base, transmatrix& at); -extern bool game_active; +extern bool game_active, playerfound; } diff --git a/shmup.cpp b/shmup.cpp index b6a3d376..5e654907 100644 --- a/shmup.cpp +++ b/shmup.cpp @@ -3189,6 +3189,7 @@ bool drawMonster(const transmatrix& V, cell *c, const transmatrix*& Vboat, trans switch(m->type) { case moPlayer: + playerfound = true; cpid = m->pid; drawPlayerEffects(view, c, true); if(m->inBoat) m->footphase = 0;