diff --git a/Aquaria/Game.cpp b/Aquaria/Game.cpp index caf94db..7d7d748 100644 --- a/Aquaria/Game.cpp +++ b/Aquaria/Game.cpp @@ -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); } } } diff --git a/Aquaria/Ingredient.cpp b/Aquaria/Ingredient.cpp index 1e2df3c..a477918 100644 --- a/Aquaria/Ingredient.cpp +++ b/Aquaria/Ingredient.cpp @@ -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())