1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-01 13:45:34 +00:00

remove the const cast

This commit is contained in:
scrawl 2012-09-15 19:52:18 +02:00
parent cf358fa79d
commit 3e5ab069a6

View file

@ -45,9 +45,8 @@ namespace MWWorld
npcStats.increaseSkill (ref->base->data.skillID, *class_, true);
// Remove skill from the book
/// \todo This will have to be changed later
const_cast<ESM::Book*>(ref->base)->data.skillID = -1;
/// \todo Remove skill from the book. Right now you can read as many times as you want
/// and the skill will still increase.
}
}