Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
allow prop tool to parse particle type for tmp
  • Loading branch information
krawthekrow authored and jacob1 committed Jul 22, 2018
1 parent d05e4b2 commit d42d748
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/game/PropertyTool.cpp
Expand Up @@ -117,7 +117,7 @@ void PropertyWindow::SetProperty()
else
{
int type;
if (properties[property->GetOption().second].Type == StructProperty::ParticleType && (type = sim->GetParticleType(value.ToUtf8())) != -1)
if ((type = sim->GetParticleType(value.ToUtf8())) != -1)
{
v = type;

Expand Down

0 comments on commit d42d748

Please sign in to comment.