From 498976775aef151d20727f2207fa961dfeb709f6 Mon Sep 17 00:00:00 2001 From: Allofich Date: Fri, 7 Oct 2016 01:38:50 +0900 Subject: [PATCH] Fix reversed use of alembics and retorts --- apps/openmw/mwmechanics/alchemy.cpp | 2 +- components/esm/loadappa.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/openmw/mwmechanics/alchemy.cpp b/apps/openmw/mwmechanics/alchemy.cpp index 322d59280..783bbf573 100644 --- a/apps/openmw/mwmechanics/alchemy.cpp +++ b/apps/openmw/mwmechanics/alchemy.cpp @@ -73,7 +73,7 @@ void MWMechanics::Alchemy::applyTools (int flags, float& value) const bool duration = !(flags & ESM::MagicEffect::NoDuration); bool negative = (flags & ESM::MagicEffect::Harmful) != 0; - int tool = negative ? ESM::Apparatus::Retort : ESM::Apparatus::Albemic; + int tool = negative ? ESM::Apparatus::Alembic : ESM::Apparatus::Retort; int setup = 0; diff --git a/components/esm/loadappa.hpp b/components/esm/loadappa.hpp index 0590d33ed..74f8dd6ae 100644 --- a/components/esm/loadappa.hpp +++ b/components/esm/loadappa.hpp @@ -22,7 +22,7 @@ struct Apparatus enum AppaType { MortarPestle = 0, - Albemic = 1, + Alembic = 1, Calcinator = 2, Retort = 3 };