diff options
| author | Aldrik Ramaekers <aldrikboy@gmail.com> | 2024-05-09 11:31:07 +0200 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrikboy@gmail.com> | 2024-05-09 11:31:07 +0200 |
| commit | 962ebf95459a8da08f44898d13d185e60de59b45 (patch) | |
| tree | b7b8d5bd0760f760f99fd6e2703752f6137e306e /src/zombies.c | |
| parent | c13e3bce702003aea65eef54ee462fd20cdf4fa1 (diff) | |
work
Diffstat (limited to 'src/zombies.c')
| -rw-r--r-- | src/zombies.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/zombies.c b/src/zombies.c index 116b5fa..c128a0c 100644 --- a/src/zombies.c +++ b/src/zombies.c @@ -342,6 +342,10 @@ static void update_zombie_attacks_server(zombie *zombie) { } void update_zombies_server(platform_window* window) { + #ifdef MODE_DEBUG + if (is_editing_map) return; + #endif + for (int i = 0; i < SERVER_MAX_ZOMBIES; i++) { zombie o = zombies[i]; if (!o.alive) continue; |
