mirror of
https://github.com/XProger/OpenLara.git
synced 2025-02-23 15:05:34 +01:00
fix build
This commit is contained in:
parent
f78075f3f8
commit
5366ec795b
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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user