mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-23 15:52:41 +02:00
Merge branch 'port' of https://github.com/fgsfdsfgs/perfect_dark into port-net
This commit is contained in:
commit
7c8b1176c7
1 file changed
+4
@@ -856,6 +856,10 @@ void inputRumble(s32 idx, f32 strength, f32 time)
|
||||
return;
|
||||
}
|
||||
|
||||
if (padsCfg[idx].rumbleScale <= 0.f) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (padsCfg[idx].rumbleOn) {
|
||||
strength *= padsCfg[idx].rumbleScale;
|
||||
if (strength <= 0.f) {
|
||||
|
||||
Reference in new issue
Block a user