summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/entities/Entity.cpp2
-rw-r--r--src/modelinfo/ClumpModelInfo.cpp2
-rw-r--r--src/rw/RwHelper.cpp1
3 files changed, 4 insertions, 1 deletions
diff --git a/src/entities/Entity.cpp b/src/entities/Entity.cpp
index 7fcc3829..709f91c1 100644
--- a/src/entities/Entity.cpp
+++ b/src/entities/Entity.cpp
@@ -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)
diff --git a/src/modelinfo/ClumpModelInfo.cpp b/src/modelinfo/ClumpModelInfo.cpp
index ec64977b..44a62afb 100644
--- a/src/modelinfo/ClumpModelInfo.cpp
+++ b/src/modelinfo/ClumpModelInfo.cpp
@@ -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
}
diff --git a/src/rw/RwHelper.cpp b/src/rw/RwHelper.cpp
index 4ee3a0b3..dd356b96 100644
--- a/src/rw/RwHelper.cpp
+++ b/src/rw/RwHelper.cpp
@@ -2,6 +2,7 @@
#define WITHD3D
#endif
#include "common.h"
+#include <rpskin.h>
#include "RwHelper.h"
#include "Timecycle.h"