aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2019-12-20 18:06:59 +0100
committerDaniel Schadt <kingdread@gmx.de>2019-12-20 18:06:59 +0100
commita882ff3bd8c7927df029db85a0589e4f3d0fba8a (patch)
treeebad4bb58e866938fb502d53f162aeb63fac72e2 /src
parent9f4a4eaa06f3d0136de9088c0e60a0c077248c91 (diff)
downloadkondou-a882ff3bd8c7927df029db85a0589e4f3d0fba8a.tar.gz
kondou-a882ff3bd8c7927df029db85a0589e4f3d0fba8a.tar.bz2
kondou-a882ff3bd8c7927df029db85a0589e4f3d0fba8a.zip
add comment about 12 byte padding
Diffstat (limited to 'src')
-rw-r--r--src/bt.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bt.rs b/src/bt.rs
index 8cda030..c348fca 100644
--- a/src/bt.rs
+++ b/src/bt.rs
@@ -280,7 +280,10 @@ impl BuildTemplate {
}
}
- // Weird padding, achieved by looking at other chat links.
+ // 12 more bytes are used to save the order of the skills in the inactive revenant
+ // utilities (the active ones are saved in the normal skill slots).
+ // The order is terrestric 1/2/3 and then aquatic 1/2/3, with 2 bytes per skill.
+ // We don't care about that, so just do whatever.
for _ in 0..12 {
bytes.push(0);
}