View Single Post
  #4  
Old 08-25-2015, 12:23 PM
Shendare
Dragon
 
Join Date: Apr 2009
Location: California
Posts: 814
Default

Yeah, you left out the condition for the 'elseif', and in C++ it needs a space. The class constants are also all uppercase, per C standards.

You'd want that line to read:

Quote:
else if (GetClass() == PALADIN || GetClass() == SHADOWKNIGHT)
And you'd want to fully capitalize them in the first 'if' statement as well.
Reply With Quote