- properly increment the instruction pointer in 'endofgame'.

This made the bosses disappear after death, fixes #38
This commit is contained in:
Christoph Oelckers 2020-07-26 21:28:42 +02:00
parent 102f473821
commit 530debd24b

View file

@ -670,6 +670,7 @@ int ParseState::parse(void)
insptr++;
break;
case concmd_endofgame:
insptr++;
ps[g_p].timebeforeexit = *insptr;
ps[g_p].customexitsound = -1;
ud.eog = 1;