comparison Outdoor.cpp @ 141:cca78efb377e

Constants -> enums
author Nomad
date Tue, 12 Feb 2013 03:02:13 +0200
parents a8ec7e1e18b6
children 8b8fd4d83fdc
comparison
equal deleted inserted replaced
140:f4d7a9a8c363 141:cca78efb377e
2977 x = v1->vPosition.x; 2977 x = v1->vPosition.x;
2978 y = v1->vPosition.y; 2978 y = v1->vPosition.y;
2979 v61 = v1->vPosition.z; 2979 v61 = v1->vPosition.z;
2980 if ( v2 == 17 ) 2980 if ( v2 == 17 )
2981 { 2981 {
2982 if ( (v1->uSummonerID & 7) != 3 || pActors[v1->uSummonerID >> 3].pMonsterInfo.uSpecialAbilityDamageDiceSides != 1 ) 2982 if ( (v1->uSummonerID & 7) != OBJECT_Actor || pActors[v1->uSummonerID >> 3].pMonsterInfo.uSpecialAbilityDamageDiceSides != 1 )
2983 { 2983 {
2984 v6 = (double)v1->uActorHeight * 0.5; 2984 v6 = (double)v1->uActorHeight * 0.5;
2985 v7 = v6 + 6.7553994e15; 2985 v7 = v6 + 6.7553994e15;
2986 v3 += LODWORD(v7); 2986 v3 += LODWORD(v7);
2987 v61 = v3; 2987 v61 = v3;