diff --git a/src/materialsystem/stdshaders/worldvertextransition.cpp b/src/materialsystem/stdshaders/worldvertextransition.cpp index 748b2bc0..d5d1bb17 100644 --- a/src/materialsystem/stdshaders/worldvertextransition.cpp +++ b/src/materialsystem/stdshaders/worldvertextransition.cpp @@ -182,6 +182,7 @@ BEGIN_VS_SHADER( WorldVertexTransition_DX9, "Help for WorldVertexTransition" ) SHADER_DRAW { +#ifndef MAPBASE if ( UsingEditor( params ) ) { WorldVertexTransitionEditor_DX8_Vars_t info; @@ -189,6 +190,7 @@ BEGIN_VS_SHADER( WorldVertexTransition_DX9, "Help for WorldVertexTransition" ) DrawWorldVertexTransitionEditor_DX8( this, params, pShaderAPI, pShaderShadow, info ); return; } +#endif DrawLightmappedGeneric_DX9( this, params, pShaderAPI, pShaderShadow, s_info, pContextDataPtr ); }