diff options
author | segfault <toni@impl.cc> | 2020-05-23 01:34:43 +0200 |
---|---|---|
committer | segfault <toni@impl.cc> | 2020-05-23 01:34:43 +0200 |
commit | 0ff50c5e1fddb6d7b0bb2c5908b0af9fe8fff887 (patch) | |
tree | ab43ed7956b4ed01098dfb2aa1ac81fc250ca859 | |
parent | 375a94c2709021e04be7edaaf06134e6aa756ed7 (diff) |
fixed missing explicit cast
-rw-r--r-- | MinimapText.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MinimapText.cpp b/MinimapText.cpp index 7638b4e..974558d 100644 --- a/MinimapText.cpp +++ b/MinimapText.cpp @@ -46,7 +46,7 @@ void __fastcall minimapProxy(Registers* registers) return; } - std::string woodString = std::to_string((player->pResources->wood)); + std::string woodString = std::to_string(((int)player->pResources->wood)); std::string foodString = std::to_string((int)player->pResources->food); std::string goldString = std::to_string((int)player->pResources->gold); std::string stoneString = std::to_string((int)player->pResources->stone); |