fix: change SceneColor::Get parameter from unsigned char to uint8_t

Agent-Logs-Url: https://github.com/DarkflameUniverse/DarkflameServer/sessions/804e2235-77e8-458f-9a0b-519c496ba3b3

Co-authored-by: aronwk-aaron <26027722+aronwk-aaron@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-03-31 16:18:20 +00:00
committed by GitHub
parent d5bacabbdc
commit f6230532df

View File

@@ -2,6 +2,7 @@
#define SCENE_COLOR_H
#include "NiColor.h"
#include <cstdint>
#include <vector>
class SceneColor {
@@ -158,7 +159,7 @@ public:
TEMPLATE_COLORS[145] = NiColor(1.0f, 0.682353f, 0.2588235f);
}
const NiColor& Get(unsigned char index) const {
const NiColor& Get(uint8_t index) const {
return (index < 146) ? TEMPLATE_COLORS[index] : FALLBACK_COLOR;
}