Skip to content

Commit 025d03f

Browse files
committed
fix: correct nullptr to FALSE in Bool isPatchShadowed function
1 parent 117d432 commit 025d03f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GeneralsMD/Code/GameEngineDevice/Source/W3DDevice/GameClient/Shadow/W3DVolumetricShadow.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ Bool isPatchShadowed(W3DShadowGeometryHeightmapMesh *hm_mesh)
471471
map=TheTerrainRenderObject->getMap();
472472

473473
if (!map)
474-
return nullptr;
474+
return FALSE;
475475

476476
hm_mesh->buildPolygonNormal( 0, &normal );
477477

0 commit comments

Comments
 (0)