diff Monsters.cpp @ 2494:de8c5c223e9c

for ACTOR_
author Ritor1
date Tue, 16 Sep 2014 17:48:58 +0600
parents 85a12b497698
children
line wrap: on
line diff
--- a/Monsters.cpp	Mon Sep 15 17:30:29 2014 +0600
+++ b/Monsters.cpp	Tue Sep 16 17:48:58 2014 +0600
@@ -827,11 +827,11 @@
                         if (tolower(test_string[1])!='h')
                             pInfos[curr_rec_num].uMovementType=MONSTER_MOVEMENT_TYPE_STAIONARY; //stationary
                         break;  //short
-                    case 'l': pInfos[curr_rec_num].uMovementType=2;  break; //long
-                    case 'm': pInfos[curr_rec_num].uMovementType=1; break; //med
-                    case 'g': pInfos[curr_rec_num].uMovementType=3; break; //global?     
+                    case 'l': pInfos[curr_rec_num].uMovementType = MONSTER_MOVEMENT_TYPE_LONG;  break; //long
+                    case 'm': pInfos[curr_rec_num].uMovementType = MONSTER_MOVEMENT_TYPE_MEDIUM; break; //med
+                    case 'g': pInfos[curr_rec_num].uMovementType = MONSTER_MOVEMENT_TYPE_GLOBAL; break; //global?     
                     default:
-                        pInfos[curr_rec_num].uMovementType=4; //free
+                        pInfos[curr_rec_num].uMovementType = MONSTER_MOVEMENT_TYPE_FREE; //free
                         }       
                     }
                     break;