mirror of
https://github.com/XProger/OpenLara.git
synced 2025-08-08 06:06:51 +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 {
|
union fixed {
|
||||||
uint16 L;
|
uint32 value;
|
||||||
int16 H;
|
struct {
|
||||||
|
uint16 L;
|
||||||
|
int16 H;
|
||||||
|
};
|
||||||
|
|
||||||
operator float() const {
|
operator float() const {
|
||||||
return H + L / 65535.0f;
|
return H + L / 65535.0f;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user