Permalink
Browse files

allow prop tool to parse particle type for tmp

  • Loading branch information...
krawthekrow authored and jacob1 committed Jul 14, 2018
1 parent d05e4b2 commit d42d7486e75a962b88b419b0545d5ee1f92a0d36
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/game/PropertyTool.cpp
@@ -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;

0 comments on commit d42d748

Please sign in to comment.