All pastes #191323 Raw Edit

ascii

public text v1 · immutable
·published 2006-10-04 21:15 UTC
rendered paste body
		// Call original function
		orig_syscall(CG_R_RENDERSCENE, refdef);

		drawRiffleCam();
		
		// Weapons are different in tce
		if (eth.mod.type != MOD_TCE) {
			// Weapons spy cam
			switch (eth.cg_entities[eth.cg_snap->ps.clientNum].currentState->weapon) {
				case WP_MORTAR_SET:
					if (seth.value[VAR_MORTARCAM])
						drawMortarCam();
					break;
				case WP_PANZERFAUST:
					if (seth.value[VAR_PANZERCAM])
						drawPanzerCam();
					break;
				case WP_SATCHEL_DET:
					if (seth.value[VAR_SATCHELCAM])
						drawSatchelCam();
					break;
				/*case WP_GPG40:
				case WP_M7:
					if (seth.value[VAR_RIFLECAM])
						drawRiffleCam();
					break;*/
				default:
					break;
			}
		}