Skip to content

Commit

Permalink
fix buying erase tool in a pack, increase price of erase tool to 5000
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob1 committed Apr 1, 2018
1 parent 17c79f1 commit fdd6618
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/coin/Redeem.cpp
Expand Up @@ -48,7 +48,7 @@ class PackRedeem : public ui::ButtonAction
for (Tool * tool : toolList)
{
int toolId = tool->GetToolID();
if (toolId > 0 && toolId < PT_NUM)
if (toolId >= 0 && toolId < PT_NUM)
sim->elements[toolId].Unlocked = true;
}
}
Expand Down
1 change: 1 addition & 0 deletions src/simulation/elements/NONE.cpp
Expand Up @@ -8,6 +8,7 @@ Element_NONE::Element_NONE()
MenuVisible = 1;
MenuSection = SC_SPECIAL;
Enabled = 1;
UnlockPrice = 5000;

Advection = 0.0f;
AirDrag = 0.00f * CFDS;
Expand Down

0 comments on commit fdd6618

Please sign in to comment.