1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-23 01:00:00 +00:00

fix building with PED_SKIN

This commit is contained in:
aap 2021-01-12 18:55:14 +01:00
parent fe1d82c9c3
commit 48ce6151f9
3 changed files with 4 additions and 1 deletions

View file

@ -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)

View file

@ -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
} }

View file

@ -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"