try to work with non-portals progs too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4480 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
18ac985526
commit
350bafee54
1 changed files with 2 additions and 1 deletions
|
@ -671,7 +671,8 @@ void NPP_NQFlush(void)
|
|||
{
|
||||
/*hexen2 does something like this in the client, but we don't support those protocols, so translate to something usable*/
|
||||
char *title[13] = {"gfx/finale.lmp", "gfx/meso.lmp", "gfx/egypt.lmp", "gfx/roman.lmp", "gfx/castle.lmp", "gfx/castle.lmp", "gfx/end-1.lmp", "gfx/end-2.lmp", "gfx/end-3.lmp", "gfx/castle.lmp", "gfx/mpend.lmp", "gfx/mpmid.lmp", "gfx/end-3.lmp"};
|
||||
int lookup[13] = {394, 395, 396, 397, 358, 411, 386+6, 386+7, 386+8, 391, 538, 545, 561};
|
||||
int lookup[13] = {394, 395, 396, 397, 358, strcmp(T_GetString(400+5*2+1), "BAD STRING")?400+5*2+1:400+4*2, 386+6, 386+7, 386+8, 391, 538, 545, 561};
|
||||
//5 is the demo sell screen, which changes depending on hexen2 vs portals.
|
||||
if (buffer[1] < 13)
|
||||
{
|
||||
h2title = title[buffer[1]];
|
||||
|
|
Loading…
Reference in a new issue