コード例 #1
0
ファイル: g_weapon.c プロジェクト: bmorel/Unvanquished
void flamerFire( gentity_t *ent )
{
	vec3_t origin;

	// Correct muzzle so that the missile does not start in the ceiling
	VectorMA( muzzle, -7.0f, up, origin );

	// Correct muzzle so that the missile fires from the player's hand
	VectorMA( origin, 4.5f, right, origin );

	fire_flamer( ent, origin, forward );
}
コード例 #2
0
ファイル: g_weapon.c プロジェクト: wtfbbqhax/thz
void flamerFire( gentity_t *ent )
{
  gentity_t *m;

  m = fire_flamer( ent, muzzle, forward );
}