comparison Monsters.cpp @ 2494:de8c5c223e9c

for ACTOR_
author Ritor1
date Tue, 16 Sep 2014 17:48:58 +0600
parents 85a12b497698
children
comparison
equal deleted inserted replaced
2493:bd4ada7615ce 2494:de8c5c223e9c
825 { 825 {
826 case 's': pInfos[curr_rec_num].uMovementType=MONSTER_MOVEMENT_TYPE_SHORT;// short 826 case 's': pInfos[curr_rec_num].uMovementType=MONSTER_MOVEMENT_TYPE_SHORT;// short
827 if (tolower(test_string[1])!='h') 827 if (tolower(test_string[1])!='h')
828 pInfos[curr_rec_num].uMovementType=MONSTER_MOVEMENT_TYPE_STAIONARY; //stationary 828 pInfos[curr_rec_num].uMovementType=MONSTER_MOVEMENT_TYPE_STAIONARY; //stationary
829 break; //short 829 break; //short
830 case 'l': pInfos[curr_rec_num].uMovementType=2; break; //long 830 case 'l': pInfos[curr_rec_num].uMovementType = MONSTER_MOVEMENT_TYPE_LONG; break; //long
831 case 'm': pInfos[curr_rec_num].uMovementType=1; break; //med 831 case 'm': pInfos[curr_rec_num].uMovementType = MONSTER_MOVEMENT_TYPE_MEDIUM; break; //med
832 case 'g': pInfos[curr_rec_num].uMovementType=3; break; //global? 832 case 'g': pInfos[curr_rec_num].uMovementType = MONSTER_MOVEMENT_TYPE_GLOBAL; break; //global?
833 default: 833 default:
834 pInfos[curr_rec_num].uMovementType=4; //free 834 pInfos[curr_rec_num].uMovementType = MONSTER_MOVEMENT_TYPE_FREE; //free
835 } 835 }
836 } 836 }
837 break; 837 break;
838 case 11: 838 case 11:
839 { 839 {