Skip to content

Instantly share code, notes, and snippets.

Created February 8, 2016 21:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/029091c3bdc872f1cdfe to your computer and use it in GitHub Desktop.
Save anonymous/029091c3bdc872f1cdfe to your computer and use it in GitHub Desktop.
/root/ElunaTrinityWotlk/src/server/scripts/Custom/npc_prof.cpp: In member function ‘void Professions_NPC::CreatureWhisperBasedOnBool(const char*, Creature*, Player*, bool)’:
/root/ElunaTrinityWotlk/src/server/scripts/Custom/npc_prof.cpp:11:88: error: ‘player’ was not declared in this scope
_creature->Whisper("You're in combat!", LANG_UNIVERSAL,player, false);
^
compilation terminated due to -Wfatal-errors.
src/server/scripts/CMakeFiles/scripts.dir/build.make:1480: recipe for target 'src/server/scripts/CMakeFiles/scripts.dir/Custom/npc_prof.cpp.o' failed
make[2]: *** [src/server/scripts/CMakeFiles/scripts.dir/Custom/npc_prof.cpp.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment