shithub: qk3

Download patch

ref: 83d9a50fccb7e84172b97c44da9a9a5a252c1c67
parent: 84cdb4e2e9e1712fc913c05c38f3cf94ca100e5d
author: qwx <>
date: Mon Jan 14 07:36:43 EST 2019

botlib: enable struct packing for aas loading

--- a/code/botlib/aasfile.h
+++ b/code/botlib/aasfile.h
@@ -112,6 +112,8 @@
 #define AASLUMP_PORTALINDEX			12
 #define AASLUMP_CLUSTERS			13
 
+#pragma pack on
+
 //========== bounding box =========
 
 //bounding box
@@ -244,6 +246,7 @@
 	aas_lump_t lumps[AAS_LUMPS];
 } aas_header_t;
 
+#pragma pack off
 
 //====== additional information ======
 /*