summaryrefslogtreecommitdiff
path: root/src/main/main.c
diff options
context:
space:
mode:
authorAlbert Cervin <albert@acervin.com>2024-03-24 20:53:49 +0100
committerAlbert Cervin <albert@acervin.com>2024-03-24 20:53:49 +0100
commit5b3234f34fd081a3fe81c95bd55f4bfc853568a5 (patch)
tree9b45747061f3acfb0fae923fe6861078d7569088 /src/main/main.c
parent1c78990eef67e89cfb2d664415c52a6a4009fa9c (diff)
downloaddged-5b3234f34fd081a3fe81c95bd55f4bfc853568a5.tar.gz
dged-5b3234f34fd081a3fe81c95bd55f4bfc853568a5.tar.xz
dged-5b3234f34fd081a3fe81c95bd55f4bfc853568a5.zip
Improve and simplify movement logic
It was very complicated and tried to handle cases that were specific to certain movement with a too general approach.
Diffstat (limited to 'src/main/main.c')
-rw-r--r--src/main/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/main.c b/src/main/main.c
index a1703ce..927785e 100644
--- a/src/main/main.c
+++ b/src/main/main.c
@@ -38,7 +38,7 @@ void *frame_alloc(size_t sz) {
return frame_allocator_alloc(&frame_allocator, sz);
}
-bool running = true;
+static bool running = true;
void terminate() { running = false; }