1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-21 06:23:53 +00:00

fix a typo

This commit is contained in:
scrawl 2012-05-30 08:04:07 +02:00
parent c5a685d11f
commit 72bb7a2d2c

View file

@ -257,7 +257,7 @@ namespace MWGui
std::string cost = boost::lexical_cast<std::string>(enchant->data.cost);
std::string charge = boost::lexical_cast<std::string>(enchant->data.charge); /// \todo track current charge
if (enchant->data.type != ESM::Enchantment::CastOnce)
if (enchant->data.type == ESM::Enchantment::CastOnce)
{
// this is Morrowind behaviour
cost = "100";