mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-22 00:53:52 +00:00
removed some redundant code
This commit is contained in:
parent
d5e63a767e
commit
7725190f89
1 changed files with 0 additions and 8 deletions
|
@ -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 a new issue