aboutsummaryrefslogtreecommitdiff
path: root/game/Random.cpp
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2025-01-08 16:14:25 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2025-01-08 16:14:25 +0100
commitf1f6f08bf15e7ef1520810524a5e50a126629432 (patch)
tree239f1d19fb890a7badc2f7887c460605770614e1 /game/Random.cpp
parent31b068a3d2a275656ec310552f1ab27034aa184d (diff)
parent94e2988cc8c42e83a4b7b858c48458f997130963 (diff)
Merge remote-tracking branch 'origin/loek/game' into niels/game
Diffstat (limited to 'game/Random.cpp')
-rw-r--r--game/Random.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/game/Random.cpp b/game/Random.cpp
index 821ddc8..64cf1f3 100644
--- a/game/Random.cpp
+++ b/game/Random.cpp
@@ -26,7 +26,4 @@ unsigned Random::u(unsigned upper, unsigned lower) {
return x + lower;
}
-bool Random::b() {
- return rand() % 2;
-}
-
+bool Random::b() { return rand() % 2; }