mirror of
https://github.com/JezuzLizard/T4SP-Server-Plugin.git
synced 2025-10-10 08:26:41 +00:00
fix wanrings
This commit is contained in:
@@ -392,7 +392,7 @@ namespace game
|
||||
return ((char*)refString - (char*)game::gScrMemTreePub[inst].mt_buffer) / MT_NODE_SIZE;
|
||||
}
|
||||
|
||||
RefString* GetRefString_0(scriptInstance_t inst, const char* str)
|
||||
RefString* GetRefString_0([[maybe_unused]]scriptInstance_t inst, const char* str)
|
||||
{
|
||||
assert(str >= (char*)game::gScrMemTreePub[inst].mt_buffer && str < (char*)(game::gScrMemTreePub[inst].mt_buffer + MT_SIZE));
|
||||
|
||||
|
@@ -995,7 +995,7 @@ namespace game
|
||||
return game::gScrVarGlob[inst].parentVariables[startLocalId + 1].w.status >> 8;
|
||||
}
|
||||
|
||||
const char* Scr_GetStackThreadPos(scriptInstance_t inst, unsigned int, VariableStackBuffer*, bool)
|
||||
const char* Scr_GetStackThreadPos([[maybe_unused]]scriptInstance_t inst, unsigned int, VariableStackBuffer*, bool)
|
||||
{
|
||||
assert(game::gScrVarPub[inst].developer);
|
||||
|
||||
@@ -1198,7 +1198,7 @@ namespace game
|
||||
}
|
||||
}
|
||||
|
||||
unsigned int GetInternalVariableIndex(scriptInstance_t inst, unsigned int unsignedValue)
|
||||
unsigned int GetInternalVariableIndex([[maybe_unused]]scriptInstance_t inst, unsigned int unsignedValue)
|
||||
{
|
||||
assert(game::IsValidArrayIndex(inst, unsignedValue));
|
||||
return (unsignedValue + 0x800000) & 0xFFFFFF;
|
||||
|
Reference in New Issue
Block a user