mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-23 15:52:41 +02:00
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:
1 parent
b4f7f467c0
commit
5b1d03cbbb
8 files changed
+56
No files matched your search
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user