summaryrefslogtreecommitdiff
path: root/games/glob2/files/patch-src__ConfigFiles.h
blob: d0e3af2f65debb12161872412772ac55421b707f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- src/ConfigFiles.h.orig	2023-06-13 07:14:47 UTC
+++ src/ConfigFiles.h
@@ -178,7 +178,11 @@ class ConfigVector (public)
 		else
 		{
 			std::cerr << "ConfigVector::get(" << static_cast<unsigned int>(id) << ") : warning : id is not valid, returning default" << std::endl;
-			assert(false);
+			// FreeBSD: patch impoted from glob2's CVS
+			//			assert(false);
+			// I commented the assert because it crashed glob2
+			// sometimes, when a building was repaired.
+			// This has to be really fixed!
 			return &defaultEntry;
 		}
 	}