The actual bit of code it chokes on, which is in void cSkills::ApplyRank( CSocket *s, CItem *c, UI08 rank, UI08 maxrank ):1>e:\uox3cvs\uox3 source\skills.cpp(104) : error C2668: 'floor' : ambiguous call to overloaded function
1> c:\program files (x86)\microsoft visual studio 9.0\vc\include\math.h(559): could be 'long double floor(long double)'
1> c:\program files (x86)\microsoft visual studio 9.0\vc\include\math.h(511): or 'float floor(float)'
1> c:\program files (x86)\microsoft visual studio 9.0\vc\include\math.h(137): or 'double floor(double)'
1> while trying to match the argument list '(int)'
Code: Select all
// Convert item's rank to a value between 1 and 10, to fit rank system messages
[color=red]UI08 tempRank = floor((( rank * 100 ) / maxrank ) / 10 );[/color]