diff --git a/Sources/GameMP/CompModels.cpp b/Sources/GameMP/CompModels.cpp index b828575..c938615 100755 --- a/Sources/GameMP/CompModels.cpp +++ b/Sources/GameMP/CompModels.cpp @@ -20,7 +20,11 @@ with this program; if not, write to the Free Software Foundation, Inc., #undef DECL_DLL #endif #define DECL_DLL +#ifdef FIRST_ENCOUNTER +#include "Entities/Common/Particles.h" +#else #include "EntitiesMP/Common/Particles.h" +#endif #include "Models/Enemies/Headman/headman.h" #include "Models/Enemies/Eyeman/Eyeman.h" @@ -1007,6 +1011,7 @@ void RenderMessageModel(CDrawPort *pdp, const CTString &strModel) _moModel.RenderModel(rm); // render particles +#ifndef FIRST_ENCOUNTER if (_iParticleType!=PARTICLES_NONE) { Particle_PrepareSystem(pdp, apr); Particle_PrepareEntity( 1, 0, 0, NULL); @@ -1020,7 +1025,7 @@ void RenderMessageModel(CDrawPort *pdp, const CTString &strModel) } Particle_EndSystem(); } - +#endif EndModelRenderingView(); } Stereo_SetBuffer(STEREO_BOTH); diff --git a/Sources/GameMP/StdAfx.h b/Sources/GameMP/StdAfx.h old mode 100644 new mode 100755 index 22ada9b..160489d --- a/Sources/GameMP/StdAfx.h +++ b/Sources/GameMP/StdAfx.h @@ -26,8 +26,15 @@ with this program; if not, write to the Free Software Foundation, Inc., #define DECL_DLL #endif +#ifdef FIRST_ENCOUNTER +#include +#include +#include +#include +#else #include #include #include #include +#endif #undef DECL_DLL