Browse Source

engine: common: custom: use IL_LOAD_PLAYER_DECAL flag when loading custom player decals

pull/2/head
Alibek Omarov 2 years ago
parent
commit
5c2c02c317
  1. 2
      engine/common/custom.c

2
engine/common/custom.c

@ -26,6 +26,8 @@ static rgbdata_t *CustomDecal_LoadImage( const char *path, void *raw, int size ) @@ -26,6 +26,8 @@ static rgbdata_t *CustomDecal_LoadImage( const char *path, void *raw, int size )
testname = "#logo.png";
else testname = "#logo.bmp";
Image_SetForceFlags( IL_LOAD_PLAYER_DECAL );
return FS_LoadImage( testname, raw, size );
}

Loading…
Cancel
Save