Fix не подхватывалась информация о положении спрайта far/close

This commit is contained in:
Victor 2015-04-07 13:03:08 +03:00
parent 762a27413d
commit f5b53c963f

View File

@ -149,8 +149,8 @@ public final class Parser {
String params = ""; // emotion? cloth? distance? String params = ""; // emotion? cloth? distance?
while (lookMatch(0, TokenType.WORD)) { while (lookMatch(0, TokenType.WORD)) {
final String text = consume(TokenType.WORD).getText(); final String text = consume(TokenType.WORD).getText();
if (text.equals("close") || text.equals("far")) break;
params += text; params += text;
if (text.equals("close") || text.equals("far")) break;
} }
// Положение (left, cleft, ...) // Положение (left, cleft, ...)
String position = ""; String position = "";