File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change 5050* Obituaries are now still recorded every time something is killed when the `obituaries` CVAR is `off`, but are just not displayed in the console.
5151* Changing the `con_warninglevel` CVAR will now cause all previously generated warnings in the console to appear or disappear accordingly.
5252* Wildcard expressions now work correctly with the `reset` CCMD to reset multiple CVARs at once.
53+ * The `BIGDOOR1` texture is now vertically aligned correctly.
5354* A bug is fixed whereby the player’s weapon could bleed from the right side of the screen to the left in some rare instances.
5455
5556
Original file line number Diff line number Diff line change 5151static rpatch_t * patches ;
5252static rpatch_t * texturecomposites ;
5353
54+ static short BIGDOOR1 ;
5455static short BIGDOOR7 ;
5556static short FIREBLU1 ;
5657static short SKY1 ;
@@ -369,6 +370,8 @@ static void CreateTextureCompositePatch(const int id)
369370 // [BH] use incorrect y-origin for certain textures
370371 if (id == BIGDOOR7 || id == FIREBLU1 || id == SKY1 || (id == STEP2 && modifiedgame ) || id == TEKWALL1 )
371372 oy = 0 ;
373+ else if (id == BIGDOOR1 && gamemission == doom && !modifiedgame )
374+ oy += 32 ;
372375 else if (countsincolumn [tx ].patches > 1 )
373376 {
374377 if (!i )
@@ -482,6 +485,7 @@ void R_InitPatches(void)
482485
483486 texturecomposites = calloc (numtextures , sizeof (rpatch_t ));
484487
488+ BIGDOOR1 = R_CheckTextureNumForName ("BIGDOOR1" );
485489 BIGDOOR7 = R_CheckTextureNumForName ("BIGDOOR7" );
486490 FIREBLU1 = R_CheckTextureNumForName ("FIREBLU1" );
487491 SKY1 = R_CheckTextureNumForName ("SKY1" );
You can’t perform that action at this time.
0 commit comments