changeset 1086:74ab0ed7e308

arrows working small mistake fixed
author zipi
date Sun, 26 May 2013 00:25:30 +0100
parents 9759bc6d47f3
children cde32f9b5f33
files DecalBuilder.cpp Spells.cpp
diffstat 2 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/DecalBuilder.cpp	Sun May 26 00:14:37 2013 +0200
+++ b/DecalBuilder.cpp	Sun May 26 00:25:30 2013 +0100
@@ -383,7 +383,7 @@
     v39 = a8a;
     pGame->pIndoorCameraD3D->ViewTransform(a8a, (unsigned int)v13->uNumVertices);
     v40 = 0;
-    pGame->pIndoorCameraD3D->Project(v32, *v31, 0);
+    pGame->pIndoorCameraD3D->Project(v32, v13->uNumVertices, 0);
     if ( !(uClipFlags & 1) )
     {
       ++v12->field_308008;
--- a/Spells.cpp	Sun May 26 00:14:37 2013 +0200
+++ b/Spells.cpp	Sun May 26 00:25:30 2013 +0100
@@ -24,7 +24,7 @@
 struct SpellStats *pSpellStats;
 
 
-stru324_spell stru_4E3ACC[100] =
+stru324_spell stru_4E3ACC[103] =
 {
   {10, 0},
   {1000, 0}, {1010, 0}, {1020, 0}, {1030, 0}, {1040, 0}, {1050, 0}, {1060, 0}, {1070, 0}, {1080, 0}, {1090, 0}, {1100, 0},
@@ -35,10 +35,10 @@
   {6000, 0}, {6010, 0}, {6020, 0}, {6030, 0}, {6040, 0}, {6050, 0}, {6060, 0}, {6070, 0}, {6080, 0}, {6090, 0}, {6100, 0},
   {7000, 0}, {7010, 0}, {7020, 0}, {7030, 0}, {7040, 0}, {7050, 0}, {7060, 0}, {7070, 0}, {7080, 0}, {7090, 0}, {7100, 0},
   {8000, 0}, {8010, 0}, {8020, 0}, {8030, 0}, {8040, 0}, {8050, 0}, {8060, 0}, {8070, 0}, {8080, 0}, {8090, 0}, {8100, 0},
-  {9000, 0}, {9010, 0}, {9020, 0}, {9030, 0}, {9040, 0}, {9050, 0}, {9060, 0}, {9070, 0}, {9080, 0}, {9090, 0}, {9100, 0}
-  //{545, 0},
-  //{545, 0},
-  //{555, 0}
+  {9000, 0}, {9010, 0}, {9020, 0}, {9030, 0}, {9040, 0}, {9050, 0}, {9060, 0}, {9070, 0}, {9080, 0}, {9090, 0}, {9100, 0},
+  {545, 0},
+  {545, 0},
+  {555, 0}
 };
  //9 spellbook pages  11 spells per page 9*11 =99 +1 zero struct at 0. It counted from 1!
 SpellData pSpellDatas[100]={