summaryrefslogtreecommitdiffstats
path: root/src/Entities/Player.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Entities/Player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp
index c1031907d..8b829d090 100644
--- a/src/Entities/Player.cpp
+++ b/src/Entities/Player.cpp
@@ -1978,7 +1978,7 @@ void cPlayer::UseEquippedItem(int a_Amount)
}
cFastRandom Random;
- if (Random.NextInt(100) <= chance)
+ if (Random.NextInt(101) <= chance)
{
return;
}