Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Core/GameEngine/Source/GameClient/FXList.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -614,6 +614,7 @@ class ParticleSystemFXNugget : public FXNugget

newPos.x = primary->x + offset.x + radius * cos(angle);
newPos.y = primary->y + offset.y + radius * sin(angle);
newPos.z = primary->z + offset.z;
if( m_createAtGroundHeight && TheTerrainLogic )
{
//old way:
Expand All @@ -624,7 +625,7 @@ class ParticleSystemFXNugget : public FXNugget
newPos.z = TheTerrainLogic->getLayerHeight( newPos.x, newPos.y, layer );
}
else
newPos.z = primary->z + offset.z + m_height.getValue();
newPos.z += m_height.getValue();


if (m_orientToObject && mtx)
Expand Down
Loading