Jump to content

[patch][6300] Wrong Code In 6299 ?


Recommended Posts

Posted

Revision: 6299

Description of bug: Enum shouldn't be, becouse it will defaulty sets valuest as 0,1,2,3 (atleast under windows) and this won't work as excepted

enum TeleportToOptions
{
       TELE_TO_GM_MODE,
       TELE_TO_NOT_LEAVE_TRANSPORT,
       TELE_TO_NOT_LEAVE_COMBAT,
       TELE_TO_NOT_UNSUMMON_PET,
       TELE_TO_SPELL,
};

How to repeat: use different types of teleport

How it should work:

enum TeleportToOptions
{
       TELE_TO_GM_MODE = 0x01,
       TELE_TO_NOT_LEAVE_TRANSPORT = 0x02,
       TELE_TO_NOT_LEAVE_COMBAT = 0x04,
       TELE_TO_NOT_UNSUMMON_PET = 0x08,
       TELE_TO_SPELL = 0x10,
};

Other information: nothing

×
×
  • 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