diff options
| author | Albert Cervin <albert@acervin.com> | 2024-03-24 20:53:49 +0100 |
|---|---|---|
| committer | Albert Cervin <albert@acervin.com> | 2024-03-24 20:53:49 +0100 |
| commit | 5b3234f34fd081a3fe81c95bd55f4bfc853568a5 (patch) | |
| tree | 9b45747061f3acfb0fae923fe6861078d7569088 /src/main/main.c | |
| parent | 1c78990eef67e89cfb2d664415c52a6a4009fa9c (diff) | |
| download | dged-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.c | 2 |
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; } |
