Hiho.. having a problem here
C:
[ 41%] Building CXX object CMakeFiles/tfs.dir/src/mailbox.cpp.o
/otserv/src/luascript.cpp: In static member function ‘static int LuaScriptInterface::luaMonsterTypeAddLoot(lua_State*)’:
/otserv/src/luascript.cpp:14172:26: error: ‘class MonsterType’ has no member named ‘loadLoot’
14172 | monsterType->loadLoot(monsterType, loot->lootBlock);
| ^~~~~~~~
make[2]: *** [CMakeFiles/tfs.dir/build.make:595: CMakeFiles/tfs.dir/src/luascript.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:180: CMakeFiles/tfs.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
Last edited: