Hello! I'm trying to compile the extraMagicDamage by Erikas;
http://otland.net/threads/increase-player-damage.177331/#post-1990779
But I'm getting this error:
What my question is.. What does "was not declared in this scope" mean?
And how would one go about to "declare"?
Edit: Sorry forgot, using:
TFS 0.3.6pl1
from: svn://svn.otland.net/public/forgottenserver/tags/0.3.6pl1
Thanks in advance!
http://otland.net/threads/increase-player-damage.177331/#post-1990779
But I'm getting this error:
Code:
Compiler: Default compiler
Building Makefile: "C:\Users\Dan\Documents\The Wild\NYTFS0.3.6\dev-cpp\Makefile.win"
Executing make...
mingw32-make -f "C:\Users\Dan\Documents\The Wild\NYTFS0.3.6\dev-cpp\Makefile.win" all
g++.exe -c ../actions.cpp -o obj//actions.o -I"C:/Dev-Cpp/Dev-Cpp/include" -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D__CONSOLE__ -fexpensive-optimizations -O1
In file included from ../actions.cpp:23:
../player.h: In member function 'uint32_t Player::getExtraMagicDamage() const':
../player.h:276: error: 'extraMagicDamage' was not declared in this scope
mingw32-make: *** [obj//actions.o] Error 1
Execution terminated
What my question is.. What does "was not declared in this scope" mean?
And how would one go about to "declare"?
Edit: Sorry forgot, using:
TFS 0.3.6pl1
from: svn://svn.otland.net/public/forgottenserver/tags/0.3.6pl1
Thanks in advance!
Last edited: