Enable bullet traces

This commit is contained in:
Shinovon 2026-05-08 20:36:41 +05:00
parent baa6d4e1c2
commit e81dbee77a
3 changed files with 5 additions and 3 deletions

View file

@ -3689,6 +3689,7 @@ const char* controllerTypesPaths[] = {
void
CMenuManager::LoadController(int8 type)
{
#ifdef BUTTON_ICONS
switch (type)
{
case CONTROLLER_DUALSHOCK2:
@ -3703,7 +3704,8 @@ CMenuManager::LoadController(int8 type)
CFont::LoadButtons("MODELS/X360BTNS.TXD");
break;
}
#endif
// Unload current textures
for (int i = FE_CONTROLLER; i <= FE_ARROWS4; i++)
m_aFrontEndSprites[i].Delete();

View file

@ -342,7 +342,7 @@ enum Config {
#define ALT_DODO_CHEAT
#define REGISTER_START_BUTTON
#define BIND_VEHICLE_FIREWEAPON // Adds ability to rebind fire key for 'in vehicle' controls
#define BUTTON_ICONS // use textures to show controller buttons
//#define BUTTON_ICONS // use textures to show controller buttons
// Hud, frontend and radar
//#define PS2_HUD

View file

@ -138,7 +138,7 @@ CSpecialFX::Render(void)
{
PUSH_RENDERGROUP("CSpecialFX::Render");
// CMotionBlurStreaks::Render();
// CBulletTraces::Render();
CBulletTraces::Render();
// CBrightLights::Render();
// CShinyTexts::Render();
CMoneyMessages::Render();