mob.cpp: In function ‘int mob_delayspawn(int, t_tick, int, intptr_t)’:
mob.cpp:1052:1: error: a function-definition is not allowed here before ‘{’ toke n
{
^
mob.cpp:1088:54: error: a function-definition is not allowed here before ‘{’ tok en
int mob_count_sub(struct block_list *bl, va_list ap) {
^
mob.cpp:1105:1: error: a function-definition is not allowed here before ‘{’ toke n
{
^
mob.cpp:1207:1: error: a function-definition is not allowed here before ‘{’ toke n
{
^
mob.cpp:1241:1: error: a function-definition is not allowed here before ‘{’ toke n
{
^
mob.cpp:1268:1: error: a function-definition is not allowed here before ‘{’ toke n
{
^
mob.cpp:1330:1: error: a function-definition is not allowed here before ‘{’ toke n
{
^
mob.cpp:1356:70: error: a function-definition is not allowed here before ‘{’ tok en
static int mob_ai_sub_hard_bg_ally(struct block_list *bl,va_list ap) {
^
mob.cpp:1374:1: error: a function-definition is not allowed here before ‘{’ toke n
{
^
mob.cpp:1398:64: error: a function-definition is not allowed here before ‘{’ tok en
static int mob_warpchase_sub(struct block_list *bl,va_list ap) {
^
mob.cpp:1430:1: error: a function-definition is not allowed here before ‘{’ toke n
{
^
mob.cpp:1516:1: error: a function-definition is not allowed here before ‘{’ toke n
{
^
mob.cpp:1565:1: error: a function-definition is not allowed here before ‘{’ toke n
{
^
mob.cpp:1660:1: error: a function-definition is not allowed here before ‘{’ toke n
{
^
mob.cpp:1686:1: error: a function-definition is not allowed here before ‘{’ toke n
{
^
mob.cpp:1977:1: error: a function-definition is not allowed here before ‘{’ toke n
{
^
mob.cpp:1993:1: error: a function-definition is not allowed here before ‘{’ toke n
{
^
mob.cpp:2004:1: error: a function-definition is not allowed here before ‘{’ toke n
{
^
mob.cpp:2079:31: error: a function-definition is not allowed here before ‘{’ tok en
static TIMER_FUNC(mob_ai_lazy){
^
mob.cpp:2087:31: error: a function-definition is not allowed here before ‘{’ tok en
static TIMER_FUNC(mob_ai_hard){
^
mob.cpp:2103:75: error: a function-definition is not allowed here before ‘{’ tok en
void mob_setdropitem_option(struct item *itm, struct s_mob_drop *mobdrop) {
^
mob.cpp:2120:1: error: a function-definition is not allowed here before ‘{’ toke n
{
^
mob.cpp:2136:1: error: a function-definition is not allowed here before ‘{’ toke n
{
^
mob.cpp:2154:39: error: a function-definition is not allowed here before ‘{’ tok en
static TIMER_FUNC(mob_delay_item_drop){
^
mob.cpp:2182:1: error: a function-definition is not allowed here before ‘{’ toke n
{
^
mob.cpp:2218:29: error: a function-definition is not allowed here before ‘{’ tok en
TIMER_FUNC(mob_timer_delete){
^
mob.cpp:2240:1: error: a function-definition is not allowed here before ‘{’ toke n
{
^
mob.cpp:2257:1: error: a function-definition is not allowed here before ‘{’ toke n
{
^
mob.cpp:2264:24: error: a function-definition is not allowed here before ‘{’ tok en
TIMER_FUNC(mob_respawn){
^
mob.cpp:2273:1: error: a function-definition is not allowed here before ‘{’ toke n
{
^
mob.cpp:2397:1: error: a function-definition is not allowed here before ‘{’ toke n
{
^
mob.cpp:2442:1: error: a function-definition is not allowed here before ‘{’ toke n
{
^
mob.cpp:5734:1: error: expected ‘}’ at end of input
}
^
make[1]: *** [obj/mob.o] Error 1
make[1]: Leaving directory `/root/trunk/src/map'
make: *** [map] Error 2
hello i got this error i did what on the diff files
update: fixed now thank you