diff options
-rw-r--r-- | npc/dev/test.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/dev/test.txt b/npc/dev/test.txt index 165236941..2b4b195ce 100644 --- a/npc/dev/test.txt +++ b/npc/dev/test.txt @@ -641,9 +641,9 @@ function script HerculesSelfTestHelper { // bit flag helpers callsub(OnCheck, "bitmask_count(0)", bitmask_count(0), 0); callsub(OnCheck, "bitmask_count(1)", bitmask_count(1), 1); - // first bit falls out of type int32_t - callsub(OnCheck, "bitmask_count(3 << 30)", bitmask_count(3 << 30), 1); - callsub(OnCheck, "bitmask_count(0xaaaaAAAA)", bitmask_count(0xaaAAaaAA), 16); + // first bit falls out of type int32_t... turns into a script error. + //callsub(OnCheck, "bitmask_count( << 30)", bitmask_count(3 << 30), 1); + callsub(OnCheck, "bitmask_count(0x55555555)", bitmask_count(0x55555555), 16); // Constants |