diff options
| author | Dragorn421 <Dragorn421@users.noreply.github.com> | 2022-04-30 14:33:28 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-30 08:33:28 -0400 |
| commit | 72847660eb4b9eef8a392ddb2edc64060dd40500 (patch) | |
| tree | 12518b65dc2d101df0b1bf3aba1526be22e69ddf /src/code/fault.c | |
| parent | 8ad90df27f1faf42f375cca990c26886c270d8a5 (diff) | |
Fix misc 10 (#1208)
* Cleanup around `Item_DropCollectible`
* Cleanup around `Math3D_Vec3fDistSq`, `Math3D_Dist2DSq`
* Material/Model naming for one dlist pair
* Minor comments fixup
* Explicit `!= NULL` check
* Signed decimal for an array of coordinates
* Fixup comments some more
Diffstat (limited to 'src/code/fault.c')
| -rw-r--r-- | src/code/fault.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/fault.c b/src/code/fault.c index e03c94d59..99a4a1ddf 100644 --- a/src/code/fault.c +++ b/src/code/fault.c @@ -1107,7 +1107,7 @@ void Fault_DisplayFrameBuffer(void) { osViSetSpecialFeatures(OS_VI_GAMMA_OFF | OS_VI_DITHER_FILTER_ON); osViBlack(false); - if (sFaultInstance->fb) { + if (sFaultInstance->fb != NULL) { fb = sFaultInstance->fb; } else { fb = osViGetNextFramebuffer(); |
