mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-12-29 19:21:50 +01:00
17 lines
368 B
C++
17 lines
368 B
C++
#include "common.h"
|
|
#include "patcher.h"
|
|
#include "DummyObject.h"
|
|
#include "Pools.h"
|
|
|
|
CDummyObject::CDummyObject(CObject *obj)
|
|
{
|
|
SetModelIndexNoCreate(obj->GetModelIndex());
|
|
if(obj->m_rwObject)
|
|
AttachToRwObject(obj->m_rwObject);
|
|
obj->DetachFromRwObject();
|
|
m_level = obj->m_level;
|
|
}
|
|
|
|
STARTPATCHES
|
|
InjectHook(0x4BAB70, &CDummyObject::dtor, PATCH_JUMP);
|
|
ENDPATCHES |