View Single Post
  #1  
Old 10-13-2007, 05:28 AM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default Linux FC4 Compile Error

As of the latest build, there is an error compiling on Linux FC4 (EQEmu 992 does not have the same problem on the same OS).

Code:
spell_effects.cpp:776: error: expected `)` before `spell`
The line of code is:
Code:
snprintf(effect_desc, _EDLEN, "Summon %s: %s", (effect==SE_Familiar)?"Familiar":"Pet" spell.teleport_zone);
And the fix (appears to be) adding a comma before "spell.teleport_zone":
Code:
snprintf(effect_desc, _EDLEN, "Summon %s: %s", (effect==SE_Familiar)?"Familiar":"Pet", spell.teleport_zone);
Reply With Quote