Support Android versions earlier than 2.3.3 . (Fix from Issue 191)

git-svn-id: https://andors-trail.googlecode.com/svn/trunk@78 08aca716-68be-ccc6-4d58-36f5abd142ac
This commit is contained in:
oskar.wiksten
2011-05-07 06:11:55 +00:00
parent efb795b997
commit 003fedaf34

View File

@@ -255,9 +255,9 @@ public class ResourceFileParser {
final ArrayList<ActorConditionEffect> addedConditions = new ArrayList<ActorConditionEffect>();
ResourceObjectArrayTokenizer.tokenize(parts[startIndex + 12], tokenize2Fields, new ActorConditionTypeArrayAppender(actorConditionTypes, addedConditions, false));
if ( boostMaxHP.isEmpty()
&& boostMaxAP.isEmpty()
&& moveCostPenalty.isEmpty()
if ( boostMaxHP.length() <= 0
&& boostMaxAP.length() <= 0
&& moveCostPenalty.length() <= 0
&& combatTraits == null
&& addedConditions.isEmpty()
) {