Merge pull request #33 from BytesGalore/master

refactor: updated module registration to core rev 4++
This commit is contained in:
Stefano Borzì
2021-09-19 23:14:19 +02:00
committed by GitHub
2 changed files with 1 additions and 12 deletions

View File

@@ -1,3 +0,0 @@
AC_ADD_SCRIPT("${CMAKE_CURRENT_LIST_DIR}/src/mod_learnspells.cpp")
AC_ADD_SCRIPT_LOADER("LearnAllSpells" "${CMAKE_CURRENT_LIST_DIR}/src/loader.h")
AC_ADD_CONFIG_FILE("${CMAKE_CURRENT_LIST_DIR}/conf/mod_learnspells.conf.dist")

View File

@@ -3,16 +3,8 @@
* Copyright (C) 2021+ WarheadCore <https://github.com/WarheadCore> * Copyright (C) 2021+ WarheadCore <https://github.com/WarheadCore>
*/ */
#ifndef _LEARN_ALL_SPELLS_LOADER_H_
#define _LEARN_ALL_SPELLS_LOADER_H_
// From SC
void AddSC_LearnAllSpells(); void AddSC_LearnAllSpells();
// Add all void Addmod_learn_spellsScripts() {
void AddLearnAllSpellsScripts()
{
AddSC_LearnAllSpells(); AddSC_LearnAllSpells();
} }
#endif /* _LEARN_ALL_SPELLS_LOADER_H_ */