changeset 923:055ac998c606

Ticket #65
author Nomad
date Wed, 01 May 2013 12:04:02 +0200
parents d4ca429eecd4
children 6dd1766051cf
files mm7_5.cpp
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mm7_5.cpp	Wed May 01 11:39:41 2013 +0200
+++ b/mm7_5.cpp	Wed May 01 12:04:02 2013 +0200
@@ -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();