mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-11-08 15:31:16 +00:00
Remove u64
It's better to use types from the standard library.
This commit is contained in:
36 files changed
+144
-158
No files matched your search
@@ -39,7 +39,8 @@ std::uint32_t g_NextSkeletonDefUID = 1;
|
||||
CSkeletonAnimDef::CSkeletonAnimDef() : m_FrameTime(0), m_NumKeys(0), m_NumFrames(0)
|
||||
{
|
||||
m_UID = g_NextSkeletonDefUID++;
|
||||
// Log a warning if we ever overflow. Should that not result from a bug, bumping to u64 ought to suffice.
|
||||
// Log a warning if we ever overflow. Should that not result from a bug, bumping to std::uint64_t
|
||||
// ought to suffice.
|
||||
if (g_NextSkeletonDefUID == 0)
|
||||
{
|
||||
// Reset to 1.
|
||||
|
||||
Reference in new issue
Block a user