mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
- Bugfix: Enhanced IMP Creation: When choosing female, after leaving color choosing, the "email" button is removed. That's because the code tries to remove a button which do not exist (for big/small body) so it grabs the first one around (fixed by Sandro)
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@3307 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -452,7 +452,7 @@ void ExitIMPColorChoice( void )
|
||||
DeleteVideoObjectFromIndex( guiIST_GreyGoldBox4 );
|
||||
|
||||
//remove the skin buttons
|
||||
for(iCnt = 0; iCnt < 11; iCnt++)
|
||||
for(iCnt = 0; iCnt < ( fCharacterIsMale ? 11 : 8); iCnt++) // fix of bug, removing unasigned buttons when female
|
||||
{
|
||||
//if there is a button allocated
|
||||
if( giIMPColorChoiceButton[iCnt] != -1 )
|
||||
|
||||
Reference in New Issue
Block a user