Add hack-note on usage of Vector3uw

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5278 4a71c877-e1ca-e34f-864e-861f7616d084
master
Dennis Schridde 2008-06-20 08:51:50 +00:00
parent df7933f9f7
commit 7534eb48ac
1 changed files with 1 additions and 0 deletions

View File

@ -287,6 +287,7 @@ bool visibleObject(const BASE_OBJECT* psViewer, const BASE_OBJECT* psTarget, boo
return false;
}
// FIXME HACK Needed since we got those ugly Vector3uw floating around in BASE_OBJECT...
pos = Vector3uw_To3i(psViewer->pos);
dest = Vector3uw_To3i(psTarget->pos);
diff = Vector3i_Sub(dest, pos);