fix buying erase tool in a pack, increase price of erase tool to 5000
This commit is contained in:
parent
17c79f1661
commit
fdd6618896
@ -48,7 +48,7 @@ public:
|
|||||||
for (Tool * tool : toolList)
|
for (Tool * tool : toolList)
|
||||||
{
|
{
|
||||||
int toolId = tool->GetToolID();
|
int toolId = tool->GetToolID();
|
||||||
if (toolId > 0 && toolId < PT_NUM)
|
if (toolId >= 0 && toolId < PT_NUM)
|
||||||
sim->elements[toolId].Unlocked = true;
|
sim->elements[toolId].Unlocked = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -8,6 +8,7 @@ Element_NONE::Element_NONE()
|
|||||||
MenuVisible = 1;
|
MenuVisible = 1;
|
||||||
MenuSection = SC_SPECIAL;
|
MenuSection = SC_SPECIAL;
|
||||||
Enabled = 1;
|
Enabled = 1;
|
||||||
|
UnlockPrice = 5000;
|
||||||
|
|
||||||
Advection = 0.0f;
|
Advection = 0.0f;
|
||||||
AirDrag = 0.00f * CFDS;
|
AirDrag = 0.00f * CFDS;
|
||||||
|
Reference in New Issue
Block a user