size_t needs stoul not stoull
This commit is contained in:
parent
65e7520dab
commit
10c949779d
@ -178,7 +178,7 @@ const std::string Ability::GetDescriptionWithPlayerModifiers()const{
|
||||
std::vector<std::string>tokens{util::Tokenize(variableName,'[')};
|
||||
if(tokens.size()!=2)ERR("[] variable syntax only allows 2 arguments. Ex. Key[ind]. Arguments found: "<<tokens.size());
|
||||
std::string separatorKey{tokens.at(0)};
|
||||
size_t index{stoull(tokens.at(1))};
|
||||
size_t index{stoul(tokens.at(1))};
|
||||
if(!data.HasProperty(separatorKey))return false; //Could not be found in this section, will need to seek in another location.
|
||||
AddToDescription(specialValCol.toHTMLColorCode()+data.GetProperty(separatorKey).GetString(index)+WHITE.toHTMLColorCode());
|
||||
return true;
|
||||
|
||||
@ -59,6 +59,8 @@ No damage / No loadout items used / Defeat All
|
||||
|
||||
Fix coloring of selected git blame items
|
||||
|
||||
TODO Add constructor for safemaps.
|
||||
|
||||
DEMO
|
||||
====
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user