diff mm7_5.cpp @ 318:981fbe2da232

spellbook spells fixed
author zipi
date Tue, 19 Feb 2013 23:49:35 +0000
parents 2a09e1d6fc8f
children 0b2af9c5f70f
line wrap: on
line diff
--- a/mm7_5.cpp	Wed Feb 20 01:21:59 2013 +0200
+++ b/mm7_5.cpp	Tue Feb 19 23:49:35 2013 +0000
@@ -13544,10 +13544,10 @@
   {
     if (v11[i])
     {
-      sprintf(pContainer, "SB%sS%02d", spellbook_texture_filename_suffices[school], pSpellbookSpellIndices[school][i]);
+      sprintf(pContainer, "SB%cS%02d", spellbook_texture_filename_suffices[school], pSpellbookSpellIndices[school][i]);
       dword_506408[i] = pIcons_LOD->LoadTexturePtr(pContainer, TEXTURE_16BIT_PALETTE);
 
-      sprintf(pContainer, "SB%sC%02d", spellbook_texture_filename_suffices[school], pSpellbookSpellIndices[school][i]);
+      sprintf(pContainer, "SB%cC%02d", spellbook_texture_filename_suffices[school], pSpellbookSpellIndices[school][i]);
       dword_5063D8[i] = pIcons_LOD->LoadTexturePtr(pContainer, TEXTURE_16BIT_PALETTE);
     }
   }