fix buying erase tool in a pack, increase price of erase tool to 5000

This commit is contained in:
jacob1 2018-03-31 23:09:11 -04:00
parent 17c79f1661
commit fdd6618896
2 changed files with 2 additions and 1 deletions

View File

@ -48,7 +48,7 @@ public:
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;
}
}

View File

@ -8,6 +8,7 @@ Element_NONE::Element_NONE()
MenuVisible = 1;
MenuSection = SC_SPECIAL;
Enabled = 1;
UnlockPrice = 5000;
Advection = 0.0f;
AirDrag = 0.00f * CFDS;