if (ent->DrunkTime > level.time)
		{
			bubble = bubble + 1;
			if (bubble == 10)
			{
				Bub = G_Spawn();
				Bub->movetype = MOVETYPE_NOCLIP;
				Bub->clipmask = MASK_SHOT;
				Bub->solid = SOLID_NOT;
				VectorClear (Bub->mins);
				VectorClear (Bub->maxs);
				VectorSet (Bub->velocity,0,0,10);
				Bub->s.modelindex = gi.modelindex ("sprites/s_bubble.sp2");
				Bub->nextthink = level.time + 2;
				Bub->think = G_FreeEdict;
				VectorCopy(ent->s.origin,Bub->s.origin);
				gi.linkentity(Bub);
				bubble = 0;
			}
/*
			ent->client->ps.rdflags |= RDF_UNDERWATER;
*/
			if(YDirection)
				ent->DizzyYaw += random()*6;
			else
				ent->DizzyYaw -= random()*6;
			if(PDirection)
				ent->DizzyPitch += random()*5;
			else
				ent->DizzyPitch -= random()*5;
			if(RDirection)
				ent->DizzyRoll += random()*3;
			else
				ent->DizzyRoll -= random()*3;
			if (ent->DizzyYaw < -35)
				YDirection = 1;
			if (ent->DizzyYaw > 35)
				YDirection = 0;
			if (ent->DizzyPitch < -25)
				PDirection = 1;
			if (ent->DizzyPitch > 25)
				PDirection = 0;
			if (ent->DizzyRoll < -25)
				RDirection = 1;
			if (ent->DizzyRoll > 25)
				RDirection = 0;
			angles[YAW] += ent->DizzyYaw;
			angles[PITCH] += ent->DizzyPitch;
			angles[ROLL] += ent->DizzyRoll;
		}
/////////////////////
if (ent->client->Gas_Time>level.time)
	{
		if(ent->client->Gas_Delay<level.time)
		{
			ent->client->Gas_Delay=(float)((int)(1000*random())%25)/10+level.time;
			number=(int)(random()*10)%9;
			ent->client->GasR=GasR[number];
			ent->client->GasG=GasG[number];
			ent->client->GasB=GasB[number];
			ent->client->GasViewOffset[0]=(float)((int)(random()*1000)%400-200)/10;
			ent->client->GasViewOffset[1]=(float)((int)(random()*1000)%400-200)/10;
			ent->client->GasViewOffset[2]=(float)((int)(random()*1000)%400-200)/10;
			ent->client->GasFOV=(int)(random()*1000)%100+41;
		}
		ent->client->ps.fov=ent->client->GasFOV;
		if (ent->client->Gas_Time<level.time+0.25)
			ent->client->ps.fov=90;
		SV_AddBlend (ent->client->GasR, ent->client->GasG, ent->client->GasB, 0.65, ent->client->ps.blend);
	}
///////////////////////////
if (ent->client->Gas_Time>level.time)
	{
		angles[YAW] += ent->client->GasViewOffset[YAW];
		angles[PITCH] += ent->client->GasViewOffset[PITCH];
		angles[ROLL] += ent->client->GasViewOffset[ROLL];
	}