diff Items.cpp @ 233:0df4136b6aac

store_line
author Gloval
date Sun, 17 Feb 2013 18:48:03 +0400
parents b9f4ff2f6c45
children a6a8fa73b4ec
line wrap: on
line diff
--- a/Items.cpp	Sun Feb 17 17:18:45 2013 +0400
+++ b/Items.cpp	Sun Feb 17 18:48:03 2013 +0400
@@ -1265,7 +1265,7 @@
 			if ( !test_string )
 				break;
 			potion_value = atoi(test_string);
-			char c=*test_string;
+			unsigned char c=*test_string;
 			if ( !potion_value )
 				{
 				if ( tolower(c) == 'e' )
@@ -1347,7 +1347,7 @@
 			if ( !test_string )
 				break;
 			potion_note = atoi(test_string);
-			char c=*test_string;
+			unsigned char c=*test_string;
 			if ( !potion_note )
 				{
 				if ( tolower(c) == 'e' )