viewing paste [Bug] Sourcer | Text

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14
=== Código : ================================================================================================================
 
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.x, sd->bl.y, CELL_CHKPK) && map_getcell(tsd->bl.m, tsd->bl.x, tsd->bl.y, CELL_CHKPK))
    state |= BCT_ENEMY;
}
 
=== Bug : ===================================================================================================================
 
c:\users\mihael\desktop\brathena-master\src\map\battle.c(6806): warning C4013: 'map_getcell' undefined; assuming extern returning int
 
=============================================================================================================================
 
Viewed 573 times, submitted by Mihael.