mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-10-16 16:43:27 +00:00
Make IW4 menu rect def align be unsigned like IW5
This commit is contained in:
1 parent
3233186d8b
commit
399d8e834d
2 files changed
+6
-6
No files matched your search
@@ -34,8 +34,8 @@ namespace IW4
|
||||
static_cast<float>(rect.y),
|
||||
static_cast<float>(rect.w),
|
||||
static_cast<float>(rect.h),
|
||||
static_cast<char>(rect.horizontalAlign),
|
||||
static_cast<char>(rect.verticalAlign)
|
||||
static_cast<unsigned char>(rect.horizontalAlign),
|
||||
static_cast<unsigned char>(rect.verticalAlign)
|
||||
};
|
||||
}
|
||||
|
||||
@@ -46,8 +46,8 @@ namespace IW4
|
||||
static_cast<float>(rectRelativeTo.y + rect.y),
|
||||
static_cast<float>(rect.w),
|
||||
static_cast<float>(rect.h),
|
||||
static_cast<char>(rect.horizontalAlign),
|
||||
static_cast<char>(rect.verticalAlign)
|
||||
static_cast<unsigned char>(rect.horizontalAlign),
|
||||
static_cast<unsigned char>(rect.verticalAlign)
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user