mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 01:07:43 +00:00
Various imps and minor fixes
This commit is contained in:
@@ -6,13 +6,12 @@ namespace urde
|
||||
{
|
||||
CPFArea::CPFArea(const std::unique_ptr<u8[]>&& buf, int len)
|
||||
{
|
||||
x13c_ = buf.get();
|
||||
}
|
||||
|
||||
std::unique_ptr<IObj> FPathFindAreaFactory(const SObjectTag& /*tag*/, const std::unique_ptr<u8[]>& buf,
|
||||
const CVParamTransfer &xfer)
|
||||
{
|
||||
return TToken<CPFArea>::GetIObjObjectFor(
|
||||
std::unique_ptr<CPFArea>(new CPFArea(std::move(buf), *reinterpret_cast<int*>(xfer.GetObj()))));
|
||||
std::make_unique<CPFArea>(std::move(buf), *reinterpret_cast<int*>(xfer.GetObj())));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user