Jump to content

[fix]Invincible (Winged Pony!!!!)


Recommended Posts

Posted
did you even try to compile this? :confused:

maybe:

If you look at the first post by Laise, you can see i just recycled that part :P

and yes, it compiles

@ Janu, as far as i can see...exactly the same code

Posted

@ Janu, as far as i can see...exactly the same code

take a closer look :)

I added some brackets, like I said, e.g.:

+                            if m_spellInfo->Id == 72286

changed to:

+                            if (m_spellInfo->Id == 72286)

Posted
take a closer look :)

I added some brackets, like I said, e.g.:

+                            if m_spellInfo->Id == 72286

changed to:

+                            if (m_spellInfo->Id == 72286)

ah ok, sorry for not seeing that.. not that i think it should matter (compiling worked for me :o)

Posted
If you look at the first post by Laise, you can see i just recycled that part :P

and yes, it compiles

@ Janu, as far as i can see...exactly the same code

that 'if' WON'T compile and no, that's not Laise code

you can't declare a variable just after a 'if' and if you put it inside the bracktes, it will only "lives" inside that scope

Posted
that 'if' WON'T compile and no, that's not Laise code

you can't declare a variable just after a 'if' and if you put it inside the bracktes, it will only "lives" inside that scope

You're right...just rechecked it and seems a collab on my repo added brackets...sorry for doubting you guys (started coding a month ago...not that much experience yet...)

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use