We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 487e5ce commit eb49be5Copy full SHA for eb49be5
GeneralsMD/Code/GameEngineDevice/Source/W3DDevice/GameClient/Drawable/Draw/W3DTreeDraw.cpp
@@ -126,7 +126,7 @@ void W3DTreeDraw::addToTreeBuffer()
126
const W3DTreeDrawModuleData *moduleData = getW3DTreeDrawModuleData();
127
const Drawable *draw = getDrawable();
128
129
- DEBUG_ASSERTCRASH(draw->getPosition()->x == 0.0f && draw->getPosition()->y == 0.0f,
+ DEBUG_ASSERTCRASH(!(draw->getPosition()->x == 0.0f && draw->getPosition()->y == 0.0f),
130
("W3DTreeDraw::addToTreeBuffer - Why place tree at x:0 y:0 ?"));
131
132
Real scale = draw->getScale();
0 commit comments