mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-17 01:32:21 +02:00
skill names and descriptions are fully managed by CSkillHandler
This commit is contained in:
@ -17,6 +17,7 @@
|
||||
#include "CCreatureSet.h"
|
||||
#include "CHeroHandler.h"
|
||||
#include "CGeneralTextHandler.h"
|
||||
#include "CSkillHandler.h"
|
||||
#include "CStack.h"
|
||||
#include "CArtHandler.h"
|
||||
|
||||
@ -1078,7 +1079,7 @@ std::string Bonus::Description() const
|
||||
str << VLC->creh->creatures[sid]->namePl;
|
||||
break;
|
||||
case SECONDARY_SKILL:
|
||||
str << VLC->generaltexth->skillName[sid]/* << " secondary skill"*/;
|
||||
str << VLC->skillh->skillName(sid);
|
||||
break;
|
||||
default:
|
||||
//todo: handle all possible sources
|
||||
|
Reference in New Issue
Block a user