mirror of
https://github.com/1dot13/source.git
synced 2026-09-02 14:36:06 +02:00
enabled new attachments to be shown even without EDB for all items except LBE gear
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9239 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -1065,7 +1065,7 @@ BOOLEAN UseNASDesc(OBJECTTYPE *pObject){
|
|||||||
if(pObject->exists() == FALSE)
|
if(pObject->exists() == FALSE)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
// silversurfer: We allow it now but only in EDB.
|
// silversurfer: We allow it now but only in EDB.
|
||||||
if(guiCurrentScreen == MAP_SCREEN && !UsingEDBSystem() ) //Item[pObject->usItem].usItemClass == IC_LBEGEAR && UsingNewAttachmentSystem()==true && gGameSettings.fOptions[TOPTION_SHOW_LBE_CONTENT])
|
if(guiCurrentScreen == MAP_SCREEN && !UsingEDBSystem() && Item[pObject->usItem].usItemClass & IC_LBEGEAR) //Item[pObject->usItem].usItemClass == IC_LBEGEAR && UsingNewAttachmentSystem()==true && gGameSettings.fOptions[TOPTION_SHOW_LBE_CONTENT])
|
||||||
return FALSE; // the map screen can't support NAS and LBEGEAR.
|
return FALSE; // the map screen can't support NAS and LBEGEAR.
|
||||||
return (/*Item[pObject->usItem].usItemClass != IC_LBEGEAR && Item[pObject->usItem].usItemClass != IC_MONEY && */UsingNewAttachmentSystem()==true);
|
return (/*Item[pObject->usItem].usItemClass != IC_LBEGEAR && Item[pObject->usItem].usItemClass != IC_MONEY && */UsingNewAttachmentSystem()==true);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user