ZVISION: Some scripts action arguments can be uppercased, make all lowercase.

This commit is contained in:
Marisa-Chan committed 2013-11-26 15:02:38 +00:00
1 parent feabdc6017
commit f3e2857cde
1 file changed
+3 -1
+3 -1
View File
@@ -151,13 +151,14 @@ void ScriptManager::parseResults(Common::SeekableReadStream &stream, Common::Lis
// Loop until we find the closing brace
Common::String line = stream.readLine();
trimCommentsAndWhiteSpace(&line);
line.toLowercase();
// TODO: Re-order the if-then statements in order of highest occurrence
while (!stream.eos() && !line.contains('}')) {
if (line.empty()) {
line = stream.readLine();
trimCommentsAndWhiteSpace(&line);
line.toLowercase();
continue;
}
@@ -291,6 +292,7 @@ void ScriptManager::parseResults(Common::SeekableReadStream &stream, Common::Lis
line = stream.readLine();
trimCommentsAndWhiteSpace(&line);
line.toLowercase();
}
return;