Oh, hadn't noticed that :P ... that's very misleading though, and not something I'd suggest for readability and all.
As a general rule, the first projectile param should be the type of projectile. It'd probably be better to use something like projType (which would be, for example, gun, grenade, etc).