aboutsummaryrefslogtreecommitdiff
path: root/game/Random.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2025-01-08 15:24:38 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2025-01-08 15:24:38 +0100
commit12cf43dd062f41af226e0ac038b2f2838391015f (patch)
tree6c00434a29b8c2302eb85ead1fce96a2856aec09 /game/Random.cpp
parentf22a282b7863d35928fa3290f964ce3be5c0dbc9 (diff)
`make format`
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; }