• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

TFS 1.X+ [TFS 1.3] Attack Speed compile Error

Gicu

Well-Known Member
Joined
Feb 26, 2011
Messages
187
Reaction score
52
In file included from /----/src/bed.h:23,
from /----t/src/actions.cpp:23:
/----/src/item.h: In member function ‘int32_t Item::getAttackSpeed() const’:
/----/src/item.h:857:30: error: ‘const class ItemType’ has no member named attackSpeed’
857 | return items[id].attackSpeed;
| ^~~~~~~~~~~
make[2]: *** [CMakeFiles/tfs.dir/build.make:94: CMakeFiles/tfs.dir/src/actions.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:125: CMakeFiles/tfs.dir/all] Error 2
make: *** [Makefile:84: all] Error 2

I implement this

Help :p
Post automatically merged:

Bump
Post automatically merged:

bump
 
Last edited:
Back
Top