Skip to content

Commit 80aff0d

Browse files
committed
fix(ocl): Add static_cast for FindPositionFlags bitwise OR
1 parent c80b026 commit 80aff0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GeneralsMD/Code/GameEngine/Source/GameLogic/Object/ObjectCreationList.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1398,7 +1398,7 @@ class GenericObjectCreationNugget : public ObjectCreationNugget
13981398
// TheSuperHackers @bugfix bobtista 18/11/2025 Use FPF_CLEAR_CELLS_ONLY when DiesOnBadLand to prevent spawning in water/cliffs
13991399
if (m_diesOnBadLand)
14001400
{
1401-
fpOptions.flags = FPF_USE_HIGHEST_LAYER | FPF_CLEAR_CELLS_ONLY;
1401+
fpOptions.flags = static_cast<FindPositionFlags>(FPF_USE_HIGHEST_LAYER | FPF_CLEAR_CELLS_ONLY);
14021402
}
14031403
else
14041404
{

0 commit comments

Comments
 (0)