=== 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
=============================================================================================================================