Skip to content

Commit

Permalink
use sc Fluid par
Browse files Browse the repository at this point in the history
  • Loading branch information
cryham committed Nov 24, 2023
1 parent 544fd63 commit 8a68775
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/game/CarModel_Create.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -496,9 +496,12 @@ void CarModel::Create()
/// ⚫💭 wheel emitters ------------------------
if (!ghost)
{
const static String sPar[PAR_ALL] = {"Smoke","Mud","Dust","FlWater","FlMud","FlMudS"}; // for ogre name
const static String sPar[PAR_ALL] = {
"Smoke","Mud","Dust", "FlWater","FlMud","FlMudS"}; // for ogre name
// particle type names
const String sName[PAR_ALL] = {sc->sParSmoke, sc->sParMud, sc->sParDust, "FluidWater", "FluidMud", "FluidMudSoft"};
const String sName[PAR_ALL] = {
sc->sParSmoke, sc->sParMud, sc->sParDust, sc->sFluidWater, sc->sFluidMud, sc->sFluidMudSoft};

for (int w=0; w < numWheels; ++w)
{
String siw = strI + "_" +toStr(w);
Expand Down

0 comments on commit 8a68775

Please sign in to comment.