Add an option in Combat Simulator to disable the blur effect from melee damage

This effect might be annoyning or eye straining for some people so i believe it's a good idea to implement this option. There is still some free space in the MP Options bitfield for future expansion.
This commit is contained in:
Not actually throwaway committed 2024-04-24 22:54:15 +02:00
1 parent b4f7f467c0
commit 5b1d03cbbb
8 files changed
+56

No files matched your search

+7
View File
@@ -1127,6 +1127,13 @@ Gfx *lvRender(Gfx *gdl)
chr->blurdrugamount = 0;
chr->blurnumtimesdied = 0;
}
#ifndef PLATFORM_N64 //set the drug blur to 0 if it's disabled in MP settings. There might be a better way to block it from occuring, but this one works just fine
if(g_Vars.mplayerisrunning && (g_MpSetup.options & MPOPTION_NODRUGBLUR))
{
bluramount = 0;
}
#endif
}
}