mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-02-03 18:14:01 +00:00
Fix missing textures in ingredient pickup effect and new recipe notification
This commit is contained in:
parent
16235a4ad1
commit
4b2008d06b
2 changed files with 3 additions and 3 deletions
|
@ -240,7 +240,7 @@ Game::~Game()
|
|||
|
||||
void Game::pickupIngredientEffects(IngredientData *data)
|
||||
{
|
||||
Quad *q = new Quad("gfx/ingredients/" + data->gfx, Vector(800-20 + core->getVirtualOffX(), (570-2*(100*miniMapRender->scale.y))+ingOffY));
|
||||
Quad *q = new Quad("ingredients/" + data->gfx, Vector(800-20 + core->getVirtualOffX(), (570-2*(100*miniMapRender->scale.y))+ingOffY));
|
||||
q->scale = Vector(0.8f, 0.8f);
|
||||
q->followCamera = 1;
|
||||
q->alpha.ensureData();
|
||||
|
@ -4881,7 +4881,7 @@ void Game::learnedRecipe(Recipe *r, bool effects)
|
|||
{
|
||||
if (effects)
|
||||
{
|
||||
setControlHint(os.str(), 0, 0, 0, 3, std::string("gfx/ingredients/") + data->gfx);
|
||||
setControlHint(os.str(), 0, 0, 0, 3, "ingredients/" + data->gfx);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -64,7 +64,7 @@ Ingredient::Ingredient(const Vector &pos, IngredientData *data, int amount)
|
|||
lifeSpan = 30;
|
||||
if (data)
|
||||
{
|
||||
setTexture("Ingredients/"+data->gfx);
|
||||
setTexture("ingredients/"+data->gfx);
|
||||
}
|
||||
int mag = 600;
|
||||
if (isRotKind())
|
||||
|
|
Loading…
Add table
Reference in a new issue