Ragebones / StormCore

StormCore Open Source MMO Framework (Supports Legion 7.1.5.23420)
GNU General Public License v2.0
61 stars 78 forks source link

Compile issue #106

Open frafall opened 7 years ago

frafall commented 7 years ago

During compilation I found inconsistencies between src/server/game/AI/SmartScripts/SmartScript.h and src/server/game/AI/SmartScripts/SmartScript.cpp which broke compilations.

The SMART_ACTION_OFFER_QUEST is not defined in the enum SMART_ACTION and the struct SmartAction.cast uses undefined fields castFlags and triggerFlags in the .cpp file.

Seems to me the .h file update is missing somehow?

good work :)

evanlanester commented 7 years ago

I got the same issue occurring. 103 Errors and 9 Warnings after compiling, almost all surrounding the SmartScript.cpp, SmartScript.h and SmartScriptMgr.h