All pastes #95818 Raw Edit

ascii

public c v1 · immutable
#95818 ·published 2006-07-22 10:24 UTC
rendered paste body
hook.c just after case CG_SETUSERCMDVALUE		    case CG_R_ADDPOLYTOSCENE:		    	if (arg[0] == eth.cgs_media_smokePuffshader) {		    		polyVert_t *verts = (polyVert_t *)arg[2];		    		int count = 0;		    		for (; count < 4; count ++)		    			verts[count].modulate[3] = 0x20;		    		callOriginal = qtrue;		    	}		    	break;hook.c with all others shaders			else if (!strcmp(name, "smokePuff"))				eth.cgs_media_smokePuffshader = result;