mirror of
https://github.com/XProger/OpenLara.git
synced 2025-08-06 21:26:56 +02:00
fix build
This commit is contained in:
10
src/format.h
10
src/format.h
@@ -1088,9 +1088,13 @@ namespace TR {
|
||||
};
|
||||
}
|
||||
|
||||
struct fixed {
|
||||
uint16 L;
|
||||
int16 H;
|
||||
union fixed {
|
||||
uint32 value;
|
||||
struct {
|
||||
uint16 L;
|
||||
int16 H;
|
||||
};
|
||||
|
||||
operator float() const {
|
||||
return H + L / 65535.0f;
|
||||
}
|
||||
|
Reference in New Issue
Block a user