*Problemă/Întrebare: (use of undeclared identifier 'bossFile' ) ---la compilare sursa game
*Resursă folosită (sistem/funcție/modificare): shows-bosss-atlas-t1221.html
*Serverfiles folosit: : stabil-serverfiles-40k-clean-clasic-zea ... -t133.html
*Syserr: use of undeclared identifier 'bossFile'
*Fișier(e) cu problema (link pastebin / code):
fisiere complete :
Regen.cpp
Regen.h
*Poze / Video:
Codurile in regen.cpp
Show Spoiler
#ifdef ENABLE_ATLAS_BOSS
bool regen_load(const char* filename, long lMapIndex, int base_x, int base_y, bool bossFile)
#else
bool regen_load(const char* filename, long lMapIndex, int base_x, int base_y)
#endif
#ifdef ENABLE_ATLAS_BOSS
if ((bossFile) && (tmp.type == REGEN_TYPE_MOB)) {
const CMob * p = CMobManager::instance().Get(regen->vnum);
if (!p)
sys_err("In %s, No mob data by vnum %u", filename, regen->vnum);
else {
SECTREE_MANAGER::instance().InsertBossPosition(lMapIndex, p->m_table.bType,
p->m_table.szLocaleName
, (regen->sx+regen->ex) / 2 - base_x, (regen->sy+regen->ey) / 2 - base_y, tmp.time);
}
}
#endif