balistic or ballistic?

balistic or ballistic?

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

balistic or ballistic?

Post by TradeMark »

This line of code i found from "WeaponDefHandler.cpp" file:

Code: Select all

sunparser->GetDef(balistic, "0", weaponname + "\\balistic");
But it seems like everyone uses "ballistic" variable, not "balistic".

Now im confused, how any ballistic weapon can work if they are defined wrong?

I didnt find any files which includes word "ballistic"
SecurE
Posts: 87
Joined: 29 Apr 2005, 23:49

Post by SecurE »

Yeah, I noticed the same thing, I belive ballistic weapons works without it simply because if it isn't anything else, Spring defines the weapon as a cannon as default which is the ballistic weapon you want.
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Post by TradeMark »

Hmm... So the code has typo? It should be "ballistic" ?

Maybe it should be fixed in next version, not big deal to replace it.
Post Reply

Return to “Engine”