fix building with PED_SKIN
This commit is contained in:
parent
fe1d82c9c3
commit
48ce6151f9
@ -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 New Issue
Block a user