1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-20 07:53:51 +00:00

ok, that should be enough

This commit is contained in:
Marek Kochanowicz 2014-01-27 15:03:29 +01:00
parent 84e07c95b1
commit 9c579dbd6c

View file

@ -140,7 +140,7 @@ void CSMWorld::ReorderRowsCommand::undo()
int size = static_cast<int> (mNewOrder.size()); int size = static_cast<int> (mNewOrder.size());
std::vector<int> reverse (size); std::vector<int> reverse (size);
for (int i=0; i < size; ++i) for (int i=0; i< size; ++i)
reverse.at (mNewOrder[i]) = i; reverse.at (mNewOrder[i]) = i;
mModel.reorderRows (mBaseIndex, reverse); mModel.reorderRows (mBaseIndex, reverse);