diff UI/UiGame.cpp @ 1823:24b70fa98474

Merge
author Grumpy7
date Wed, 09 Oct 2013 08:09:48 +0200
parents 5f9eeb7bf8e6 9f93b5700e2d
children bdac32c645c5
line wrap: on
line diff
--- a/UI/UiGame.cpp	Wed Oct 09 08:06:26 2013 +0200
+++ b/UI/UiGame.cpp	Wed Oct 09 08:09:48 2013 +0200
@@ -2178,7 +2178,7 @@
         {
           uFrameID = pParty->pHirelings[(unsigned __int8)pTmpBuf[i]].evt_B;
           v13 = 0;
-          if ( (signed int)pIconsFrameTable->uNumIcons )
+          if (pIconsFrameTable->uNumIcons)
           {
             for ( v13 = 0; v13 < pIconsFrameTable->uNumIcons; ++v13 )
             {
@@ -2247,5 +2247,5 @@
     case Condition_Eradicated:
       return ui_character_condition_severe_color;
   }
-  assert(false && "Invalid condition");
+  Error("Invalid condition (%u)", uConditionIdx);
 }