diff Overlays.cpp @ 701:d5b16a44d9b3

frame_table parser, new files for UI func
author Gloval
date Mon, 18 Mar 2013 22:53:56 +0400
parents f451efdb7c8b
children a9c1fb7483c2
line wrap: on
line diff
--- a/Overlays.cpp	Sun Mar 17 22:46:18 2013 +0200
+++ b/Overlays.cpp	Mon Mar 18 22:53:56 2013 +0400
@@ -220,7 +220,7 @@
     {
       *strchr(&Buf, 10) = 0;
       memcpy(&v19, texture_frame_table_txt_parser(&Buf, &v18), sizeof(v19));
-      if ( v19.field_0 && *v19.pProperties[0] != 47 )
+      if ( v19.uPropCount && *v19.pProperties[0] != 47 )
         ++Argsa;
     }
     while ( fgets(&Buf, 490, File) );
@@ -241,7 +241,7 @@
   {
     *strchr(&Buf, 10) = 0;
     memcpy(&v19, texture_frame_table_txt_parser(&Buf, &v18), sizeof(v19));
-    if ( v19.field_0 && *v19.pProperties[0] != 47 )
+    if ( v19.uPropCount && *v19.pProperties[0] != 47 )
     {
       v10 = atoi(v19.pProperties[0]);
       v11 = v19.pProperties[1];