From f68886a7df66226b0c4765b717adc8db6ce2afed Mon Sep 17 00:00:00 2001 From: Alex Foster <123afoster@gmail.com> Date: Tue, 31 Dec 2024 22:11:23 -0800 Subject: [PATCH] const qualify entities findtype() --- game/entities.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/entities.cpp b/game/entities.cpp index 7268e5de..15c4a902 100644 --- a/game/entities.cpp +++ b/game/entities.cpp @@ -173,7 +173,7 @@ void makeundoent() } } -int findtype(char *what) +int findtype(const char *what) { for(int i = 0; *getentname(i); i++) {