diff Monsters.cpp @ 2334:ddb803517a48

unused local variables I commented
author Ritor1
date Wed, 02 Apr 2014 21:05:19 +0600
parents aff7a7b072b7
children d6887ee81068
line wrap: on
line diff
--- a/Monsters.cpp	Wed Apr 02 20:53:47 2014 +0600
+++ b/Monsters.cpp	Wed Apr 02 21:05:19 2014 +0600
@@ -523,7 +523,7 @@
   unsigned int temp_str_len;
   char* tmp_pos;
   int decode_step;
-  int item_counter;
+//  int item_counter;
 
   pMonsterPlacementTXT_Raw = (char *)pEvents_LOD->LoadRaw("placemon.txt", 0);
   strtok(pMonsterPlacementTXT_Raw, "\r");
@@ -564,14 +564,14 @@
 //----- (0045501E) --------------------------------------------------------
 void MonsterStats::Initialize()
     {
-    int i,j;
+    int i;//,j;
     char* test_string;
     unsigned char c;
     bool break_loop;
     unsigned int temp_str_len;
     char* tmp_pos;
     int decode_step;
-    int item_counter;
+//    int item_counter;
     int curr_rec_num;
     char parse_str[64]; 
     char Src[120];
@@ -1083,8 +1083,8 @@
                     break;
                     case 38:
                     {
-                    int param_num;
-                    char type_flag;
+//                    int param_num;
+//                    char type_flag;
                     pInfos[curr_rec_num].uSpecialAbilityType=0;
                     pInfos[curr_rec_num].uSpecialAbilityDamageDiceBonus=0;
                     strcpy(parse_str,test_string);