Merge with upstream
This commit is contained in:
commit
ad1a4ecc68
2031 changed files with 40476 additions and 27116 deletions
|
|
@ -47,7 +47,7 @@ void PotatoTile::spawnResources(Level *level, int x, int y, int z, int data, flo
|
|||
{
|
||||
if (level->random->nextInt(50) == 0)
|
||||
{
|
||||
popResource(level, x, y, z, shared_ptr<ItemInstance>(new ItemInstance(Item::potatoPoisonous)));
|
||||
popResource(level, x, y, z, std::make_shared<ItemInstance>(Item::potatoPoisonous));
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue