diff Outdoor.cpp @ 141:cca78efb377e

Constants -> enums
author Nomad
date Tue, 12 Feb 2013 03:02:13 +0200
parents a8ec7e1e18b6
children 8b8fd4d83fdc
line wrap: on
line diff
--- a/Outdoor.cpp	Tue Feb 12 02:02:26 2013 +0200
+++ b/Outdoor.cpp	Tue Feb 12 03:02:13 2013 +0200
@@ -2979,7 +2979,7 @@
 	  v61 = v1->vPosition.z;
       if ( v2 == 17 )
       {
-		if ( (v1->uSummonerID & 7) != 3 || pActors[v1->uSummonerID >> 3].pMonsterInfo.uSpecialAbilityDamageDiceSides != 1 )
+		if ( (v1->uSummonerID & 7) != OBJECT_Actor || pActors[v1->uSummonerID >> 3].pMonsterInfo.uSpecialAbilityDamageDiceSides != 1 )
         {
 			v6 = (double)v1->uActorHeight * 0.5;
           v7 = v6 + 6.7553994e15;