From 26f066d7732d5b8e75a05c2b74f2926ccb9f3500 Mon Sep 17 00:00:00 2001 From: Alexander Batalov Date: Wed, 6 Jul 2022 15:05:32 +0300 Subject: [PATCH] Fix check --- src/world_map.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/world_map.cc b/src/world_map.cc index 4408c33..b3bc2dd 100644 --- a/src/world_map.cc +++ b/src/world_map.cc @@ -2623,7 +2623,7 @@ int cityInit() return -1; } - if (configInit(&cfg) == -1) { + if (!configInit(&cfg)) { return -1; }