Skip to content

Commit

Permalink
fix LSNS
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob1 committed Apr 23, 2017
1 parent 6d6a615 commit ddd326e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/game/GameView.cpp
Expand Up @@ -2323,7 +2323,7 @@ void GameView::OnDraw()
sampleInfo << ", Tmp: " << sample.particle.tmp;

// only elements that use .tmp2 show it in the debug HUD
if (type == PT_CRAY || type == PT_DRAY || type == PT_EXOT || type == PT_LIGH || type == PT_SOAP || type == PT_TRON || type == PT_VIBR || type == PT_VIRS || type == PT_WARP || type == PT_LCRY || type == PT_CBNW || type == PT_TSNS || type == PT_DTEC || type == PT_PSTN)
if (type == PT_CRAY || type == PT_DRAY || type == PT_EXOT || type == PT_LIGH || type == PT_SOAP || type == PT_TRON || type == PT_VIBR || type == PT_VIRS || type == PT_WARP || type == PT_LCRY || type == PT_CBNW || type == PT_TSNS || type == PT_DTEC || type == PT_LSNS || type == PT_PSTN)
sampleInfo << ", Tmp2: " << sample.particle.tmp2;

sampleInfo << ", Pressure: " << std::fixed << sample.AirPressure;
Expand Down
1 change: 1 addition & 0 deletions src/simulation/Simulation.cpp
Expand Up @@ -3169,6 +3169,7 @@ int Simulation::create_part(int p, int x, int y, int t, int v)
break;
case PT_DTEC:
case PT_TSNS:
case PT_LSNS:
parts[i].tmp2 = 2;
break;
case PT_VINE:
Expand Down
File renamed without changes.

0 comments on commit ddd326e

Please sign in to comment.