1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-22 07:23:52 +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); Ptr newPtr = copyToCellImpl(ptr, cell);
newPtr.getRefData().setCount(ptr.getRefData().getCount());
if (ptr.getRefData().isEnabled()) {
newPtr.getRefData().enable();
} else {
newPtr.getRefData().disable();
}
return newPtr; return newPtr;
} }
@ -251,4 +244,3 @@ namespace MWWorld
return newPtr; return newPtr;
} }
} }