diff Items.cpp @ 1838:211dfe2d8db1

changing global char* vars to const char* vars
author Grumpy7
date Fri, 11 Oct 2013 09:19:40 +0200
parents bdac32c645c5
children 2e6d3cd052e0
line wrap: on
line diff
--- a/Items.cpp	Fri Oct 11 07:29:14 2013 +0200
+++ b/Items.cpp	Fri Oct 11 09:19:40 2013 +0200
@@ -2699,7 +2699,7 @@
 	//----- (004B3703) --------------------------------------------------------
 void FillAviableSkillsToTeach( int _this )
 	{
-	char *v30; // ecx@65
+	const char *v30; // ecx@65
 	unsigned int v29; // edx@56
 	int v15; // ecx@19
 	int v33; // [sp-4h] [bp-2Ch]@23
@@ -2824,7 +2824,7 @@
 		default:
 			v30 = pGlobalTXT_LocalizationStrings[127]; //"No Text!"
 			}
-		pShopOptions[dword_F8B1DC] = v30;
+		pShopOptions[dword_F8B1DC] = (char *)v30;
 		++dword_F8B1DC;
 		CreateButtonInColumn(i+1, v29);
 		}