engine/EngineClientView.c
/*	Underwater, lava, etc each has a color shift
*/
Underwater, lava, etc each has a color shift
Underwater lava etc each has a color shift
void V_SetContentsColor(int contents)
{
	switch(contents)
	{
	case BSP_CONTENTS_LAVA:
		cl.cshifts[CSHIFT_CONTENTS] = cshift_lava;
		break;
	case BSP_CONTENTS_SLIME:
		cl.cshifts[CSHIFT_CONTENTS] = cshift_slime;
		break;
	case BSP_CONTENTS_WATER:
		cl.cshifts[CSHIFT_CONTENTS] = cshift_water;
		break;
	default:
		cl.cshifts[CSHIFT_CONTENTS] = cshift_empty;
	}
}
void V_SetContentsColor ( int contents ) { switch ( contents ) { case BSP_CONTENTS_LAVA : cl . cshifts [ CSHIFT_CONTENTS ] = cshift_lava ; break ; case BSP_CONTENTS_SLIME : cl . cshifts [ CSHIFT_CONTENTS ] = cshift_slime ; break ; case BSP_CONTENTS_WATER : cl . cshifts [ CSHIFT_CONTENTS ] = cshift_water ; break ; default : cl . cshifts [ CSHIFT_CONTENTS ] = cshift_empty ; } }
Underwater, lava, etc each has a color shift
Underwater lava etc each has a color shift