maps: fix daikatana context flag convert

This commit is contained in:
Denis Pauk 2024-11-10 22:26:47 +02:00
parent c3638d6c9a
commit a09cbe20bd
2 changed files with 5 additions and 4 deletions

View file

@ -196,7 +196,7 @@ static const int daikatana_flags[32] = {
0, /* 16: Mirror */ 0, /* 16: Mirror */
0, /* 17: Holy Grond */ 0, /* 17: Holy Grond */
SURF_ALPHATEST, /* 18: Alphachan */ SURF_ALPHATEST, /* 18: Alphachan */
0, /* 19: Midtexture (Used together with Clear and Nodraw.) */ SURF_ALPHATEST, /* 19: Midtexture (Used together with Clear and Nodraw.) */
0, /* 20: Puddle */ 0, /* 20: Puddle */
0, /* 21: Water Surge */ 0, /* 21: Water Surge */
0, /* 22: Big Water Surge */ 0, /* 22: Big Water Surge */
@ -214,15 +214,15 @@ static const int daikatana_flags[32] = {
static const int daikatana_contents_flags[32] = { static const int daikatana_contents_flags[32] = {
CONTENTS_SOLID, /* 0: Default for all brushes */ CONTENTS_SOLID, /* 0: Default for all brushes */
CONTENTS_WINDOW, /* 1: Brush is a window (not really used) */ CONTENTS_WINDOW, /* 1: Brush is a window (not really used) */
0, /* 2: Unused by the Dk's engine? */ CONTENTS_AUX, /* 2: Unused by the Dk's engine? */
CONTENTS_LAVA, /* 3: The brush is lava */ CONTENTS_LAVA, /* 3: The brush is lava */
CONTENTS_SLIME, /* 4: The brush is slime */ CONTENTS_SLIME, /* 4: The brush is slime */
CONTENTS_WATER, /* 5: The brush is water */ CONTENTS_WATER, /* 5: The brush is water */
CONTENTS_MIST, /* 6: The brush is non-solid */ CONTENTS_MIST, /* 6: The brush is non-solid */
0, /* 7: clear */ CONTENTS_SOLID, /* 7: clear */
0, /* 8: notsolid */ 0, /* 8: notsolid */
0, /* 9: noshoot */ 0, /* 9: noshoot */
0, /* 10: fog */ CONTENTS_MIST, /* 10: fog */
0, /* 11: nitro */ 0, /* 11: nitro */
0, /* 12: Unused */ 0, /* 12: Unused */
0, /* 13: Unused */ 0, /* 13: Unused */

View file

@ -68,6 +68,7 @@ Mod_LoadSurfConvertFlags(int flags, maptype_t maptype)
case map_kingpin: convert = kingpin_flags; break; case map_kingpin: convert = kingpin_flags; break;
case map_anachronox: convert = anachronox_flags; break; case map_anachronox: convert = anachronox_flags; break;
case map_sin: convert = sin_flags; break; case map_sin: convert = sin_flags; break;
case map_quake2: convert = quake2_flags; break;
default: convert = NULL; break; default: convert = NULL; break;
} }