From 211eb80c0aad00f86647e8ac419ca02ceaa62da6 Mon Sep 17 00:00:00 2001 From: fgenesis Date: Sat, 22 Jun 2013 23:51:29 +0200 Subject: [PATCH] Fix typo setting ingredient rotKind default value to the opposite of what it should be --- Aquaria/Ingredient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Aquaria/Ingredient.cpp b/Aquaria/Ingredient.cpp index f5b759d..ef791f0 100644 --- a/Aquaria/Ingredient.cpp +++ b/Aquaria/Ingredient.cpp @@ -24,7 +24,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. IngredientData::IngredientData(const std::string &name, const std::string &gfx, IngredientType type) : name(name), gfx(gfx), amount(0), maxAmount(MAX_INGREDIENT_AMOUNT), held(0), type(type), marked(0), sorted(false) , displayName(dsq->continuity.getIngredientDisplayName(name)) -, rotKind(type == IT_OIL || type == IT_EGG) +, rotKind(!(type == IT_OIL && type == IT_EGG)) { }