View Single Post
  #30  
Old 12-14-2010, 08:07 AM
gaeorn
Developer
 
Join Date: Apr 2009
Location: USA
Posts: 478
Default

Quote:
Originally Posted by Derision View Post
I've committed a fix for the UCS /announce issue.

The fix for /dismount appears to be:
Code:
Index: common/patches/Underfoot.cpp
===================================================================
--- common/patches/Underfoot.cpp        (revision 1767)
+++ common/patches/Underfoot.cpp        (working copy)
@@ -2878,8 +2878,8 @@
 }

 DECODE(OP_Buff) {
-       DECODE_LENGTH_EXACT(structs::SpellBuffFade_Struct);
-       SETUP_DIRECT_DECODE(SpellBuffFade_Struct, structs::SpellBuffFade_Struct);
+       DECODE_LENGTH_EXACT(structs::SpellBuffFade_Struct_Underfoot);
+       SETUP_DIRECT_DECODE(SpellBuffFade_Struct, structs::SpellBuffFade_Struct_Underfoot);
        IN(entityid);
        IN(slot);
        IN(level);
It probably needs a bit more than the 30 seconds testing I gave it, which I don't have time to do right now, so I won't commit it for now.
I did a bit of testing of the above change and did not run into any problems. I appears to work and did not break anything else that I noticed.
Reply With Quote