diff options
author | Jesusaves <cpntb1@ymail.com> | 2022-11-08 19:43:08 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2022-11-08 19:43:08 -0300 |
commit | eb9056d8787181095af379c0861ef45d790b7385 (patch) | |
tree | a08517ead81d5bac930d510a000730bc16998b7f /src/map | |
parent | 4f8f0258127ed44f4600949314740c4f04857f31 (diff) | |
download | tmwa-eb9056d8787181095af379c0861ef45d790b7385.tar.gz tmwa-eb9056d8787181095af379c0861ef45d790b7385.tar.bz2 tmwa-eb9056d8787181095af379c0861ef45d790b7385.tar.xz tmwa-eb9056d8787181095af379c0861ef45d790b7385.zip |
Remove getusers(0) because it is broken in TMWA (causes a SEGV)
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/script-fun.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/script-fun.cpp b/src/map/script-fun.cpp index 90ae671..500d892 100644 --- a/src/map/script-fun.cpp +++ b/src/map/script-fun.cpp @@ -3157,9 +3157,9 @@ void builtin_getusers(ScriptState *st) int val = 0; switch (flag & 0x07) { - case 0: + /*case 0: val = bl->bl_m->users; - break; + break;*/ case 1: val = map_getusers(); break; |