1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-23 00:28:08 +02:00

Fixes for previous commit.

This commit is contained in:
DjWarmonger
2010-08-30 19:46:38 +00:00
parent bfe266a377
commit 30cf8b7e77
3 changed files with 16 additions and 4 deletions

View File

@ -278,7 +278,7 @@ public:
{
Bonus hb(makeFeature(type, Bonus::N_TURNS, subtype, value, Bonus::SPELL_EFFECT, turnsRemain, additionalInfo));
hb.effectRange = limit;
hb.source = Bonus::SPELL; //right?
hb.source = Bonus::CASTED_SPELL; //right?
return hb;
}
@ -286,7 +286,7 @@ public:
{
Bonus ret(makeFeature(type, Bonus::N_TURNS, subtype, value, Bonus::SPELL_EFFECT, turnsRemain));
ret.valType = valType;
ret.source = Bonus::SPELL; //right?
ret.source = Bonus::CASTED_SPELL; //right?
return ret;
}