diff Spells.cpp @ 2106:b52c09e01e7e

PlaySound() blv_door and other sounds
author Ritor1
date Fri, 20 Dec 2013 00:37:39 +0600
parents 7ee21636d67a
children 16f5a7ca289a
line wrap: on
line diff
--- a/Spells.cpp	Thu Dec 19 00:55:16 2013 +0600
+++ b/Spells.cpp	Fri Dec 20 00:37:39 2013 +0600
@@ -960,21 +960,11 @@
         if ( v15 > 0 )
         {
           if ( v15 <= 2 )
-          {
             v9 = 60 * (uSkill + 60);
-          }
-          else
-          {
-            if ( v15 == 3 )
-            {
-              v9 = 180 * (uSkill + 20);
-            }
-            else
-            {
-              if ( v15 == 4 )
-                v9 = 240 * (uSkill + 15);
-            }
-          }
+          else if ( v15 == 3 )
+            v9 = 180 * (uSkill + 20);
+          else if ( v15 == 4 )
+            v9 = 240 * (uSkill + 15);
         }
         //levela = 1;
         //v32 = pParty->pPlayers;//[0].pConditions[1];