g_weapon :: Weapon_Artillery


(Chruker) #1

Despite all the success in my last post, I’m going to ask again.

In the function Weapon_Artillery in g_weapon.c there is this code (around line 2623):


			bomb->think = artillerySpotterThink;
		} else {
			if( ent->client->sess.skill[SK_SIGNALS] >= 3 )
				bomb->nextthink		= level.time + 8950 + 2000 * i + crandom() * 800;
			else
				bomb->nextthink		= level.time + 8950 + 2000 * i + crandom() * 800;

			// Gordon: for explosion type
			bomb->accuracy		= 2;

The signal level check is doing nothing right, or am I missing something?


(Rain) #2

Doesn’t appear to. Different timing for the second airstrike on level 3 signals was possibly handled there, originally, and then removed without noticing the if.