Issue information

Issue ID
#4238
Status
Duplicate
Severity
None
Started
Hercules Elf Bot
May 16, 2010 10:34
Last Post
Hercules Elf Bot
May 16, 2010 10:34
Confirmation
N/A

Hercules Elf Bot - May 16, 2010 10:34

Originally posted by [b]xazax[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=4238

Just a small cleanup.

CODE
Index: clif.c
===================================================================
--- clif.c    (revision 14294)
+++ clif.c    (working copy)
@@ -3995,7 +3995,7 @@
    {    //tsd has lost sight of the bl object.
        switch(bl->type){
        case BL_PC:
-            if (((TBL_PC*)bl)->vd.class_ != INVISIBLE_CLASS)
+            if (sd->vd.class_ != INVISIBLE_CLASS)
                clif_clearunit_single(bl->id,0,tsd->fd);
            if(sd->chatID){
                struct chat_data *cd;


This post has been edited by xazax: May 16 2010, 03:34 AM