Fix logic bug causing oil drops to rotate. Really fixed now!

This corrects 211eb80c0a.
This commit is contained in:
fgenesis 2013-07-15 03:19:42 +02:00
parent 76cfa6fe33
commit 8ac88b9749
1 changed files with 1 additions and 1 deletions

View File

@ -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))
{
}