few more fixes to last commit

This commit is contained in:
aap 2020-10-29 19:21:16 +01:00
parent bb3ac3d837
commit 317393d763
2 changed files with 3 additions and 3 deletions

View File

@ -201,8 +201,8 @@ enum Config {
#define LOAD_INI_SETTINGS
// Rendering/display
#define EXTRA_MODEL_FLAGS // from mobile to optimize rendering
# define HARDCODED_MODEL_FLAGS // sets the flags enabled above from hardcoded model names.
//#define EXTRA_MODEL_FLAGS // from mobile to optimize rendering
//# define HARDCODED_MODEL_FLAGS // sets the flags enabled above from hardcoded model names.
// NB: keep this enabled unless your map IDEs have these flags baked in
#define ASPECT_RATIO_SCALE // Not just makes everything scale with aspect ratio, also adds support for all aspect ratios
#define DEFAULT_NATIVE_RESOLUTION // Set default video mode to your native resolution (fixes Windows 10 launch)

View File

@ -160,7 +160,7 @@ CVisibilityPlugins::RenderFadingEntities(void)
#endif
RwRenderStateSet(rwRENDERSTATEZWRITEENABLE, FALSE);
#ifdef EXTRA_MODEL_FLAGS
if(mi->m_bIsTree)
else if(mi->m_bIsTree)
SetAlphaRef(128);
#endif