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