Fix for keyframe file reading
Originally committed to SVN as r1624.
This commit is contained in:
parent
d761baadf3
commit
8d797046a7
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ void KeyFrameFile::OpenAegiKeyFrames(TextFileReader& file, wxArrayInt& keyFrames
|
|||
// Read lines
|
||||
while (file.HasMoreLines()) {
|
||||
cur = file.ReadLineFromFile();
|
||||
if (!cur.IsEmpty() && cur.StartsWith(_T("#")) && cur.IsNumber()) {
|
||||
if (!cur.IsEmpty() && !cur.StartsWith(_T("#")) && cur.IsNumber()) {
|
||||
long temp;
|
||||
cur.ToLong(&temp);
|
||||
keyFrames.Add(temp);
|
||||
|
|
Loading…
Reference in a new issue