diff UI/UiGame.cpp @ 2224:c2eeeb991a87

some more pvs warning fixes
author Grumpy7
date Wed, 19 Feb 2014 22:26:10 +0100
parents d9caf2b3d8d5
children 080fd5a5433d
line wrap: on
line diff
--- a/UI/UiGame.cpp	Mon Feb 03 23:07:15 2014 +0100
+++ b/UI/UiGame.cpp	Wed Feb 19 22:26:10 2014 +0100
@@ -118,8 +118,10 @@
     return;
   viewparams->bRedrawGameUI = true;
   if ( uActiveCharacter != uPlayerID )
+  {
     uActiveCharacter = uPlayerID;
     return;
+  }
   if (dialog_menu_id == HOUSE_DIALOGUE_SHOP_BUY_STANDARD || dialog_menu_id == HOUSE_DIALOGUE_SHOP_6)
   {
     __debugbreak(); // fix indexing