No idea, but I would recommend looking not just into core src, but also into mount spell data. And doing this just for a certain class... bleh, quite likely you will have to make excluse class-only combat mounts. Maybe not, it just a guess.
One way to try find out:Start debugging.Add break point to dismount function or whatever handles dismounting.Mount up.Get in combat.See the callstack to that breakpoint when it is hit.Not sure how you can see the callstack in GDB, but in VS it should be available.
Quote from: "Rochet2"One way to try find out:Start debugging.Add break point to dismount function or whatever handles dismounting.Mount up.Get in combat.See the callstack to that breakpoint when it is hit.Not sure how you can see the callstack in GDB, but in VS it should be available.I'm not sure how to do the debugging or break point.
Quote from: "Kobiesan"Quote from: "Rochet2"One way to try find out:Start debugging.Add break point to dismount function or whatever handles dismounting.Mount up.Get in combat.See the callstack to that breakpoint when it is hit.Not sure how you can see the callstack in GDB, but in VS it should be available.I'm not sure how to do the debugging or break point.Try following this:viewtopic.php?p=48539#p48539