project-navigation
Personal tools

Author Topic: Some troubles with compiling [SOLVED]  (Read 1986 times)

Offline ROD

  • Rookie
  • ***
  • Posts: 11
    • View Profile
Some troubles with compiling [SOLVED]
« on: March 11, 2010, 07:21:23 pm »
Hi guys. I have some problems with compiling game.

compiler say me this text:

Quote
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.
« Last Edit: March 11, 2010, 07:41:45 pm by ROD »

Offline ROD

  • Rookie
  • ***
  • Posts: 11
    • View Profile
Re: Some troubles with compiling
« Reply #1 on: March 11, 2010, 07:34:13 pm »
hm, i think i found solve

in string 397 of file src/client/campaign/cp_campaign.c i found this misprint:

   
Quote
performance = ((civilianWeight * civilianRatio + alienWeight * alienRatio) - 0.5 * (civilianRatio + alienRatio)) / 0.5 * (civilianRatio + alienRatio));

last bracket is extra
« Last Edit: March 11, 2010, 07:36:34 pm by ROD »

Offline Duke

  • Administrator
  • PHALANX veteran
  • *****
  • Posts: 1037
    • View Profile
Re: Some troubles with compiling [SOLVED]
« Reply #2 on: March 11, 2010, 10:03:38 pm »
Committed to svn r28904.
Thx for reporting :)