mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-09 22:38:06 -05:00
Make IW4 menu rect def align be unsigned like IW5
This commit is contained in:
@ -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