Update types of texture variables
All checks were successful
Linux arm64 / Build (push) Successful in 4m56s
All checks were successful
Linux arm64 / Build (push) Successful in 4m56s
This commit is contained in:
@@ -10,8 +10,8 @@ class Client;
|
||||
namespace gui {
|
||||
class Hud : public GuiWidget {
|
||||
private:
|
||||
unsigned int m_GunTexture;
|
||||
unsigned int m_JPTexture;
|
||||
std::uint64_t m_GunTexture;
|
||||
std::uint64_t m_JPTexture;
|
||||
|
||||
public:
|
||||
Hud(GuiWidget* parent, Client* client);
|
||||
|
||||
@@ -84,7 +84,7 @@ void Hud::RenderTime() {
|
||||
timeRemaining += 1000;
|
||||
|
||||
int seconds = timeRemaining / 1000 % 60;
|
||||
int minutes = timeRemaining / 1000 / 60;
|
||||
int minutes = static_cast<int>(timeRemaining) / 1000 / 60;
|
||||
|
||||
timeFormated = (minutes < 10 ? "0" + std::to_string(minutes) : std::to_string(minutes)) + " : " +
|
||||
(seconds < 10 ? "0" + std::to_string(seconds) : std::to_string(seconds));
|
||||
|
||||
Reference in New Issue
Block a user