From: Holger Schemel Date: Fri, 26 Apr 2024 14:57:14 +0000 (+0200) Subject: renamed function X-Git-Tag: 4.4.0.0-test-1~33 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=24e6fe624376685e6c63861aa132c6f6cdf2bd4d;p=rocksndiamonds.git renamed function --- diff --git a/src/libgame/misc.c b/src/libgame/misc.c index 47cabacc..5e63c31f 100644 --- a/src/libgame/misc.c +++ b/src/libgame/misc.c @@ -2955,7 +2955,7 @@ boolean get_boolean_from_string(char *s) return result; } -int get_switch3_from_string(char *s) +int get_switch_3_state_from_string(char *s) { char *s_lower = getStringToLower(s); int result = FALSE; diff --git a/src/libgame/misc.h b/src/libgame/misc.h index 8082ee36..2b927e57 100644 --- a/src/libgame/misc.h +++ b/src/libgame/misc.h @@ -269,7 +269,7 @@ char getValidConfigValueChar(char); int get_integer_from_string(char *); boolean get_boolean_from_string(char *); -int get_switch3_from_string(char *); +int get_switch_3_state_from_string(char *); int get_player_nr_from_string(char *); ListNode *newListNode(void); diff --git a/src/libgame/setup.c b/src/libgame/setup.c index 9aa4ab31..65f0eec4 100644 --- a/src/libgame/setup.c +++ b/src/libgame/setup.c @@ -3234,7 +3234,7 @@ void setSetupInfo(struct TokenInfo *token_info, break; case TYPE_SWITCH_3_STATES: - *(int *)setup_value = get_switch3_from_string(token_value); + *(int *)setup_value = get_switch_3_state_from_string(token_value); break; case TYPE_KEY: