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:
parent
c5a685d11f
commit
72bb7a2d2c
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue