Skip to content

Commit 8281bff

Browse files
authored
Merge pull request #706 from andrikpowell/dsda-minor-fixes
Fix a few minor things
2 parents d153d43 + 1831dd9 commit 8281bff

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

prboom2/src/r_main.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -931,11 +931,12 @@ static void R_SetupFrame (player_t *player)
931931
int i, cm;
932932

933933
int FocalTangent = finetangent[FINEANGLES/4 + FieldOfView/2];
934+
int extra_brightness = dsda_IntConfig(dsda_config_extra_level_brightness);
934935

935936
viewplayer = player;
936937

937938
extralight = player->extralight;
938-
int extra_brightness = dsda_IntConfig(dsda_config_extra_level_brightness);
939+
939940
if (extra_brightness < 0 || extra_brightness > 4) {
940941
extra_brightness = 0;
941942
}

prboom2/src/v_video.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ typedef void (*V_DrawNumPatchGenPrecise_f)(float x, float y, int scrn,
219219
enum patch_translation_e flags);
220220
extern V_DrawNumPatchGenPrecise_f V_DrawNumPatchGenPrecise;
221221

222-
// V_DrawNumPatch - Draws the patch from lump "num"Add commentMore actions
222+
// V_DrawNumPatch - Draws the patch from lump "num"
223223
#define V_DrawNumPatch(x,y,s,n,t,f) V_DrawNumPatchGen(x,y,s,n,false,t,f)
224224
#define V_DrawNumPatchPrecise(x,y,s,n,t,f) V_DrawNumPatchGenPrecise(x,y,s,n,false,t,f)
225225

0 commit comments

Comments
 (0)