changeset 931:6dd1766051cf

Слияние
author Ritor1
date Wed, 01 May 2013 15:17:43 +0600
parents 88e15900c982 (current diff) 055ac998c606 (diff)
children 02984766816f
files mm7_5.cpp
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
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();