UFO:Alien Invasion
Archive => Bugs prior to release 2.3 => Topic started by: ROD on March 11, 2010, 07:21:23 pm
-
Hi guys. I have some problems with compiling game.
compiler say me this text:
src/client/campaign/cp_campaign.c: In function ‘CL_HandleNationData’:
src/client/campaign/cp_campaign.c:397: error: expected ‘;’ before ‘)’ token
src/client/campaign/cp_campaign.c:397: error: expected statement before ‘)’ token
Any ideas?
P.S.
Sorry for my English.
-
hm, i think i found solve
in string 397 of file src/client/campaign/cp_campaign.c i found this misprint:
performance = ((civilianWeight * civilianRatio + alienWeight * alienRatio) - 0.5 * (civilianRatio + alienRatio)) / 0.5 * (civilianRatio + alienRatio));
last bracket is extra
-
Committed to svn r28904.
Thx for reporting :)