[ioquake3] 22/25: Fix swapping AAS bboxes
Simon McVittie
smcv at debian.org
Sun Mar 12 18:23:27 UTC 2017
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to branch debian/master
in repository ioquake3.
commit cd41690fc3a9e28b5d22be473cc8ba8270a570b2
Author: Zack Middleton <zack at cloemail.com>
Date: Mon Feb 27 18:18:15 2017 -0600
Fix swapping AAS bboxes
Found in RTCW SP.
---
code/botlib/be_aas_file.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/code/botlib/be_aas_file.c b/code/botlib/be_aas_file.c
index f74f531..f4d9172 100644
--- a/code/botlib/be_aas_file.c
+++ b/code/botlib/be_aas_file.c
@@ -61,8 +61,8 @@ void AAS_SwapAASData(void)
aasworld.bboxes[i].flags = LittleLong(aasworld.bboxes[i].flags);
for (j = 0; j < 3; j++)
{
- aasworld.bboxes[i].mins[j] = LittleLong(aasworld.bboxes[i].mins[j]);
- aasworld.bboxes[i].maxs[j] = LittleLong(aasworld.bboxes[i].maxs[j]);
+ aasworld.bboxes[i].mins[j] = LittleFloat(aasworld.bboxes[i].mins[j]);
+ aasworld.bboxes[i].maxs[j] = LittleFloat(aasworld.bboxes[i].maxs[j]);
} //end for
} //end for
//vertexes
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/ioquake3.git
More information about the Pkg-games-commits
mailing list