Add hack-note on usage of Vector3uw
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5278 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
df7933f9f7
commit
7534eb48ac
|
@ -287,6 +287,7 @@ bool visibleObject(const BASE_OBJECT* psViewer, const BASE_OBJECT* psTarget, boo
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// FIXME HACK Needed since we got those ugly Vector3uw floating around in BASE_OBJECT...
|
||||||
pos = Vector3uw_To3i(psViewer->pos);
|
pos = Vector3uw_To3i(psViewer->pos);
|
||||||
dest = Vector3uw_To3i(psTarget->pos);
|
dest = Vector3uw_To3i(psTarget->pos);
|
||||||
diff = Vector3i_Sub(dest, pos);
|
diff = Vector3i_Sub(dest, pos);
|
||||||
|
|
Loading…
Reference in New Issue