1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-15 00:05:02 +02:00

corrected text in vcmibuilder, corrected errors and warnings from cppcheck

This commit is contained in:
KroArtem
2014-11-16 20:48:29 +03:00
parent 885b495cf4
commit e73c60740c
10 changed files with 21 additions and 18 deletions

View File

@ -677,7 +677,7 @@ void CGBonusingObject::initObj()
for (int i=0; i<6; i++)
{
info[i].limiter.dayOfWeek = i+1;
configureBonus(info[i], i%2 ? Bonus::MORALE : Bonus::LUCK, 1, 68);
configureBonus(info[i], (i%2) ? Bonus::MORALE : Bonus::LUCK, 1, 68);
info[i].message.addTxt(MetaString::ADVOB_TXT, 62);
soundID = soundBase::experience;
}