From d5b481c082c591749a2b709215c604d11168a455 Mon Sep 17 00:00:00 2001 From: claywar Date: Tue, 21 Jan 2025 15:11:17 -0500 Subject: [PATCH] [codeql] Explicitly define all synth message enum values --- src/map/packets/synth_message.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/map/packets/synth_message.h b/src/map/packets/synth_message.h index 67975e62339..a97390bc337 100644 --- a/src/map/packets/synth_message.h +++ b/src/map/packets/synth_message.h @@ -28,14 +28,14 @@ enum SYNTH_MESSAGE { - SYNTH_SUCCESS, - SYNTH_FAIL, - SYNTH_INTERRUPT, - SYNTH_BADRECIPE, - SYNTH_CANCEL, - SYNTH_FAILCRYSTAL, - SYNTH_NOSKILL, - SYNTH_CANCELRARE, + SYNTH_SUCCESS = 0, + SYNTH_FAIL = 1, + SYNTH_INTERRUPT = 2, + SYNTH_BADRECIPE = 3, + SYNTH_CANCEL = 4, + SYNTH_FAILCRYSTAL = 5, + SYNTH_NOSKILL = 6, + SYNTH_CANCELRARE = 7, SYNTH_SUCCESS_DESYNTH = 12, SYNTH_FAIL_CRITICAL = 14, // 0x0E };