Jump to content

nicothe1

Members
  • Posts

    7
  • Joined

  • Last visited

Posts posted by nicothe1

  1. On 8/21/2013 at 7:20 PM, DeadlySilence said:

    This will most likely produce errors. You use an else if without an if.

    
                if (skill == AS_SONICBLOW)
                    pc_stop_attack(sd); //Special case, Sonic Blow autospell should stop the player attacking.
    
                else if (skill == PF_SPIDERWEB) //Special case, due to its nature of coding.
                    type = CAST_GROUND;
    

     

    to

    
                if (skill == PF_SPIDERWEB) //Special case, due to its nature of coding.
                    type = CAST_GROUND;

     

    could work.

    scanner.h:208:17: warning: type of ‘libconfig_yy_scan_string’ does not match original declaration [-Wlto-type-mismatch]
    scanner.c:1964:17: note: ‘libconfig_yy_scan_string’ was previously declared here
    scanner.c:1964:17: note: code may be misoptimized unless -fno-strict-aliasing is used
    scanner.h:202:6: warning: type of ‘libconfig_yy_delete_buffer’ does not match original declaration [-Wlto-type-mismatch]
    scanner.c:1743:10: note: ‘libconfig_yy_delete_buffer’ was previously declared here
    scanner.c:1743:10: note: code may be misoptimized unless -fno-strict-aliasing is used
    make[1]: Leaving directory '/root/ra/src/map'
    building conf/import, conf/msg_conf/import and db/import folder...

×
×
  • Create New...