Jump to content
Eternal Lands Official Forums
Sign in to follow this  
Entropy

effect_missile.cpp problem

Recommended Posts

The client does not compile without CLUSTER_INSIDES

 

This is necessary because a few people crash with that option enabled, no idea why.

 

ec::MissileEffect::MissileType)':  
eye_candy/effect_missile.cpp:33: error: `max2f' undeclared (first use this function)  
eye_candy/effect_missile.cpp:33: error: (Each undeclared identifier is reported only once for each function it appears in.)   
make.exe: *** [eye_candy/effect_missile.o] Error 1   
Execution terminated

Share this post


Link to post
Share on other sites
Add this to the include list:

#include "../misc.h"

 

I'll commit it soon.

Please don't.

The EC framework should stay completely independant from EL.

 

There must be some c++ std math lib function to give the max of two floats. "max" should help instead of max2f.

 

/EDIT

It's std::max, I commited the change.

Edited by Florian

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×