Mercurial > mm7
comparison mm7_4.cpp @ 924:a78f08dbeb88
CastSpellInfo
author | Ritor1 |
---|---|
date | Wed, 01 May 2013 14:50:52 +0600 |
parents | ae9e2a339b09 |
children | ae747684f644 |
comparison
equal
deleted
inserted
replaced
921:3696848c0413 | 924:a78f08dbeb88 |
---|---|
41 #include "stru279.h" | 41 #include "stru279.h" |
42 #include "TurnEngine.h" | 42 #include "TurnEngine.h" |
43 #include "FactionTable.h" | 43 #include "FactionTable.h" |
44 #include "StorylineTextTable.h" | 44 #include "StorylineTextTable.h" |
45 #include "Random.h" | 45 #include "Random.h" |
46 #include "stru277.h" | 46 #include "CastSpellInfo.h" |
47 #include "stru298.h" | 47 #include "stru298.h" |
48 #include "stru12.h" | 48 #include "stru12.h" |
49 #include "stru351.h" | 49 #include "stru351.h" |
50 #include "Events2D.h" | 50 #include "Events2D.h" |
51 #include "stru159.h" | 51 #include "stru159.h" |
2101 LOWORD(v10) = 0; | 2101 LOWORD(v10) = 0; |
2102 } | 2102 } |
2103 else | 2103 else |
2104 { | 2104 { |
2105 v11 = &pObjectList->pObjects->uObjectID; | 2105 v11 = &pObjectList->pObjects->uObjectID; |
2106 while ( stru_4E3ACC[8].field_0 != *v11 ) | 2106 while ( stru_4E3ACC[8].uType != *v11 ) |
2107 { | 2107 { |
2108 ++v10; | 2108 ++v10; |
2109 v11 += 28; | 2109 v11 += 28; |
2110 if ( v10 >= (signed int)pObjectList->uNumObjects ) | 2110 if ( v10 >= (signed int)pObjectList->uNumObjects ) |
2111 goto LABEL_19; | 2111 goto LABEL_19; |