File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
GeneralsMD/Code/GameEngine/Source/GameLogic/Object
Generals/Code/GameEngine/Source/GameLogic/Object Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,10 @@ GhostObject::GhostObject(void):
42
42
// Added By Sadullah Nader
43
43
// Initializations missing and needed
44
44
m_parentAngle(0 .0f ),
45
- m_parentGeometryIsSmall(0 .0f ),
45
+ // TheSuperHackers @bugfix tomsons26 26/04/2025 Change initialization of m_parentGeometryIsSmall from 0.0f.
46
+ // Assigning a float to a bool results in the compiler using a random 1 byte value to assign to the bool.
47
+ // @todo Change initialization to 'false' when applicable.
48
+ m_parentGeometryIsSmall(true ),
46
49
m_parentGeometryMajorRadius(0 .0f ),
47
50
m_parentGeometryminorRadius(0 .0f ),
48
51
m_parentObject(NULL ),
Original file line number Diff line number Diff line change @@ -42,7 +42,10 @@ GhostObject::GhostObject(void):
42
42
// Added By Sadullah Nader
43
43
// Initializations missing and needed
44
44
m_parentAngle(0 .0f ),
45
- m_parentGeometryIsSmall(0 .0f ),
45
+ // TheSuperHackers @bugfix tomsons26 26/04/2025 Change initialization of m_parentGeometryIsSmall from 0.0f.
46
+ // Assigning a float to a bool results in the compiler using a random 1 byte value to assign to the bool.
47
+ // @todo Change initialization to 'false' when applicable.
48
+ m_parentGeometryIsSmall(true ),
46
49
m_parentGeometryMajorRadius(0 .0f ),
47
50
m_parentGeometryminorRadius(0 .0f ),
48
51
m_parentObject(NULL ),
You can’t perform that action at this time.
0 commit comments