game_in_work_example

This commit is contained in:
unknown
2010-08-31 19:25:29 +04:00
parent d4a9f33816
commit bbb6f9b366
14 changed files with 363 additions and 404 deletions

View File

@@ -369,6 +369,8 @@ void Loader::fillTowerChains(QList <tbChain> * chlist, QList <int> * trigIds, sr
strigt.damage = tbtrig.damage;
strigt.delParent = tbtrig.delParent;
strigt.radius = tbtrig.radius;
if (strigt.radius <= 0 && strigt.damage>0 && !splashes.value(parId).autoControl)
qCritical("Wrong trigger or chain, because damage >0 radius=0 and not autocontrol.\nThis damage will be ignored!");
strigt.randomPosRadius = tbtrig.randomPosRadius;
strigt.timer = tbtrig.timer;
strigt.type = tbtrig.type;