mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-04-09 17:26:58 +00:00
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:
committed by
GitHub
parent
d5bacabbdc
commit
f6230532df
@@ -2,6 +2,7 @@
|
|||||||
#define SCENE_COLOR_H
|
#define SCENE_COLOR_H
|
||||||
|
|
||||||
#include "NiColor.h"
|
#include "NiColor.h"
|
||||||
|
#include <cstdint>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
class SceneColor {
|
class SceneColor {
|
||||||
@@ -158,7 +159,7 @@ public:
|
|||||||
TEMPLATE_COLORS[145] = NiColor(1.0f, 0.682353f, 0.2588235f);
|
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;
|
return (index < 146) ? TEMPLATE_COLORS[index] : FALLBACK_COLOR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user