mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
Merge pull request #215 from kitty624/Backgrounds
Fix character check for backgrounds during IMP creation
This commit is contained in:
@@ -16,6 +16,7 @@
|
|||||||
#include "soldier profile type.h"
|
#include "soldier profile type.h"
|
||||||
#include "IMP Compile Character.h"
|
#include "IMP Compile Character.h"
|
||||||
#include "IMP Disability Trait.h"
|
#include "IMP Disability Trait.h"
|
||||||
|
#include "IMP Character Trait.h"
|
||||||
#include "GameSettings.h"
|
#include "GameSettings.h"
|
||||||
#include "Interface.h"
|
#include "Interface.h"
|
||||||
|
|
||||||
@@ -708,7 +709,7 @@ BOOLEAN IsBackGroundAllowed( UINT16 ubNumber )
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
switch ( iAttitude )
|
switch ( iChosenCharacterTrait() )
|
||||||
{
|
{
|
||||||
case CHAR_TRAIT_SOCIABLE:
|
case CHAR_TRAIT_SOCIABLE:
|
||||||
if ( zBackground[ ubNumber ].uiFlags & BACKGROUND_XENOPHOBIC )
|
if ( zBackground[ ubNumber ].uiFlags & BACKGROUND_XENOPHOBIC )
|
||||||
|
|||||||
Reference in New Issue
Block a user