Hi,
when I tried to look wether my modified values for some definitions are still in place after an svn up, I stumbled over something which looks strange to me:
#define PLAYER_PLASMA_RANGE (MAIN_PLASMA_DURATION * PLAYER_PLASMA_RANGE)
and the same thing for NPCs.
Should that not be PLAYER_PLASMA_SPEED being used?
If PLAYER_PLASMA_RANGE would be a variable that is initialized, OK (then it would be PLAYER_PLASMA_RANGE *= MAIN_PLASMA_DURATION), but it's a definition without prior value...
Screet
Question concerning trunk
Moderators: winston, another_commander, Getafix
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
Re: Question concerning trunk
I think you are right. But a project search showed that PLAYER_PLASMA_RANGE or NPC_PLASMA_RANGE is nowhere used in the code yet. Not a real problem then.Screet wrote:Should that not be PLAYER_PLASMA_SPEED being used?
If PLAYER_PLASMA_RANGE would be a variable that is initialized, OK (then it would be PLAYER_PLASMA_RANGE *= MAIN_PLASMA_DURATION), but it's a definition without prior value...
Speed (m/s) * Duration (s) = Range (m)
UPS-Courier & DeepSpacePirates & others at the box and some older versions
- Cmdr James
- Commodore
- Posts: 1357
- Joined: Tue Jun 05, 2007 10:43 pm
- Location: Berlin
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Re: ..
I hereby declare my bold and decisive plan not to do that.Lestradae wrote:Is there a plan to make plasma ranges scriptable or ship-dependent?
E-mail: [email protected]