diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-05-23 16:57:23 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-05-23 16:57:23 -0300 |
commit | 82e9f548d34ab1f6fb4312cfa084a36751f59429 (patch) | |
tree | e23b9e1e8a14c9def40dcbbd23049fd7896ec639 /npc/functions/bitwise.txt | |
parent | 0679bd5326d0f884100d286b22f8989a6c312e9c (diff) | |
download | serverdata-82e9f548d34ab1f6fb4312cfa084a36751f59429.tar.gz serverdata-82e9f548d34ab1f6fb4312cfa084a36751f59429.tar.bz2 serverdata-82e9f548d34ab1f6fb4312cfa084a36751f59429.tar.xz serverdata-82e9f548d34ab1f6fb4312cfa084a36751f59429.zip |
Fix typos
Diffstat (limited to 'npc/functions/bitwise.txt')
-rw-r--r-- | npc/functions/bitwise.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/functions/bitwise.txt b/npc/functions/bitwise.txt index fb9b1493c..fd80024ef 100644 --- a/npc/functions/bitwise.txt +++ b/npc/functions/bitwise.txt @@ -116,7 +116,7 @@ function script get_byte { function script get_bitword { .@v=getarg(0); - return bitwise_get(.@v, 0x7FFF800, 11); + return bitwise_get(.@v, 0xFFFF, 0); } ///////////////////////////////////////////////////////////////////////////////// @@ -171,6 +171,6 @@ function script set_byte { function script set_bitword { .@v=getarg(0); - return bitwise_set(.@v, 0x7FFF800, 11, getarg(1)); + return bitwise_set(.@v, 0xFFFF, 0, getarg(1)); } |