mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 01:20:01 +00:00
fix building with PED_SKIN
This commit is contained in:
parent
fe1d82c9c3
commit
48ce6151f9
|
@ -139,6 +139,7 @@ CEntity::DetachFromRwObject(void)
|
||||||
m_matrix.Detach();
|
m_matrix.Detach();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef PED_SKIN
|
||||||
RpAtomic*
|
RpAtomic*
|
||||||
AtomicRemoveAnimFromSkinCB(RpAtomic *atomic, void *data)
|
AtomicRemoveAnimFromSkinCB(RpAtomic *atomic, void *data)
|
||||||
{
|
{
|
||||||
|
@ -158,6 +159,7 @@ AtomicRemoveAnimFromSkinCB(RpAtomic *atomic, void *data)
|
||||||
}
|
}
|
||||||
return atomic;
|
return atomic;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
void
|
void
|
||||||
CEntity::DeleteRwObject(void)
|
CEntity::DeleteRwObject(void)
|
||||||
|
|
|
@ -120,7 +120,7 @@ CClumpModelInfo::SetClump(RpClump *clump)
|
||||||
RpClumpForAllAtomics(clump, SetAtomicRendererCB, (void*)CVisibilityPlugins::RenderPlayerCB);
|
RpClumpForAllAtomics(clump, SetAtomicRendererCB, (void*)CVisibilityPlugins::RenderPlayerCB);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
if(strcmp(GetModelName(), "playerh") == 0){
|
if(strcmp(GetModelName(), "playerh") == 0)
|
||||||
RpClumpForAllAtomics(clump, SetAtomicRendererCB, (void*)CVisibilityPlugins::RenderPlayerCB);
|
RpClumpForAllAtomics(clump, SetAtomicRendererCB, (void*)CVisibilityPlugins::RenderPlayerCB);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
#define WITHD3D
|
#define WITHD3D
|
||||||
#endif
|
#endif
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
|
#include <rpskin.h>
|
||||||
|
|
||||||
#include "RwHelper.h"
|
#include "RwHelper.h"
|
||||||
#include "Timecycle.h"
|
#include "Timecycle.h"
|
||||||
|
|
Loading…
Reference in a new issue