diff StorylineTextTable.cpp @ 329:f76027321087

LoadLevel_InitializeLevelStr
author Gloval
date Wed, 20 Feb 2013 21:35:13 +0400
parents 7f19b3f7d935
children 1c681ad45653
line wrap: on
line diff
--- a/StorylineTextTable.cpp	Wed Feb 20 17:37:33 2013 +0600
+++ b/StorylineTextTable.cpp	Wed Feb 20 21:35:13 2013 +0400
@@ -50,13 +50,13 @@
 				switch (decode_step)
 					{
 				case 1: 
-					StoreLine[i].pText=RemoveQuotes(test_string);
+					StoreLine[i+1].pText=RemoveQuotes(test_string);
 					break;
 				case 2:
-					StoreLine[i].uTime=atoi(test_string);  //strange but in text here string not digit
+					StoreLine[i+1].uTime=atoi(test_string);  //strange but in text here string not digit
 					break;
 				case 3:
-					StoreLine[i].pPageTitle=RemoveQuotes(test_string);
+					StoreLine[i+1].pPageTitle=RemoveQuotes(test_string);
 					break;
 					}
 				}