viewing paste [Bug] Sourcer 2 | Text

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
=== Código brAthena-master\src\map\battle.c  : ==============================================================================
 
        if (s_bl->type == BL_PC && t_bl->type == BL_PC) {
            struct map_session_data *sd = BL_CAST(BL_PC, s_bl), *tsd = BL_CAST(BL_PC, t_bl);
            if(map_getcell(sd->bl.m,&sd->bl, sd->bl.x, sd->bl.y, CELL_CHKPK))
                state |= BCT_ENEMY;
        }
 
=== Bug : ===================================================================================================================
 
>------ Build started: Project: map-server, Configuration: Debug Win32 ------
1>  battle.c
1>c:\users\mihael\desktop\brathena-master\src\map\battle.c(6806): warning C4013: 'map_getcell' undefined; assuming extern
returning int
1>  map-server.vcxproj -> C:\Users\Mihael\Desktop\brAthena-master\vcproj-10\..\map-server.exe
 
=============================================================================================================================
 
Viewed 945 times, submitted by Mihael.