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:
parent
d5e63a767e
commit
7725190f89
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user