diff mm7_5.cpp @ 931:6dd1766051cf

Слияние
author Ritor1
date Wed, 01 May 2013 15:17:43 +0600
parents a78f08dbeb88 055ac998c606
children b462b598b97a
line wrap: on
line diff
--- a/mm7_5.cpp	Wed May 01 15:17:33 2013 +0600
+++ b/mm7_5.cpp	Wed May 01 15:17:43 2013 +0600
@@ -3462,10 +3462,10 @@
         case UIMSG_PlayerCreation_FacePrev:
         {
             pPlayer = &pParty->pPlayers[uNum];
-            unsigned char v12 = (char)((int)pPlayer->uFace - 1) < 0;
-            --pPlayer->uFace;
-            if ( v12 )
+            if (!pPlayer->uFace)
               pPlayer->uFace = 19;
+            else
+              pPlayer->uFace -= 1;
             pPlayer->uVoiceID = pPlayer->uFace;
             pPlayer->SetInitialStats();
             pPlayer->SetSexByVoice();