1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-08 09:37:53 +00:00

removed some redundant code

This commit is contained in:
Marc Zinnschlag 2012-07-26 19:09:45 +02:00
parent d5e63a767e
commit 7725190f89

View File

@ -232,13 +232,6 @@ namespace MWWorld
{
Ptr newPtr = copyToCellImpl(ptr, cell);
newPtr.getRefData().setCount(ptr.getRefData().getCount());
if (ptr.getRefData().isEnabled()) {
newPtr.getRefData().enable();
} else {
newPtr.getRefData().disable();
}
return newPtr;
}
@ -251,4 +244,3 @@ namespace MWWorld
return newPtr;
}
}