mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 00:02:45 +03:00
fix(object): correct flag check in spline reader
This commit is contained in:
parent
4114f1ee16
commit
8333530d65
@ -9,7 +9,7 @@ CDataStore& operator>>(CDataStore& msg, CMoveSpline& spline) {
|
|||||||
msg.Get(spline.face.facing);
|
msg.Get(spline.face.facing);
|
||||||
} else if (spline.flags & 0x10000) {
|
} else if (spline.flags & 0x10000) {
|
||||||
msg.Get(spline.face.guid);
|
msg.Get(spline.face.guid);
|
||||||
} else {
|
} else if (spline.flags & 0x8000) {
|
||||||
msg >> spline.face.spot;
|
msg >> spline.face.spot;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user