mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-27 16:22:32 +03:00
fix(object): correct flag check in spline reader
This commit is contained in:
1 file changed
+1
-1
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user