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:
parent
d5e63a767e
commit
7725190f89
1 changed files with 0 additions and 8 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue