Fixed fury warriors and enhance shamans not loading when using dual-wield and character's robes #179

merged 2 commits into from Mar 26, 2012


None yet

2 participants


Versioning system seems to be fucked up a bit, so i didn't add the tag.

Problem with the dual-wield was caused by:
if($characters->GetClass() == CLASS_PALADIN || $characters->GetClass() == CLASS_WARRIOR || $characters->GetClass() == CLASS_SHAMAN)

Which expected every paladin, warrior and shaman to be using either a two hander, or a one hander with shield. It did not include the fact that fury warriors and enhance shamans are dual-wield.

And the problem with the robes was caused by
if($characters->GetGender() == 1)

Which guessed that all female characters wore robes and no males (what?). This also moves the components section of code to the bottom of the file so we can check if texture var's are being set.

Damn I'm so bad at using github's pulling system. Still haven't figured out how to make separate pull requests.

@Shadez Shadez merged commit 642da6c into Shadez:master Mar 26, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment