summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-11-08 19:43:08 -0300
committerJesusaves <cpntb1@ymail.com>2022-11-08 19:43:08 -0300
commiteb9056d8787181095af379c0861ef45d790b7385 (patch)
treea08517ead81d5bac930d510a000730bc16998b7f
parent4f8f0258127ed44f4600949314740c4f04857f31 (diff)
downloadtmwa-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)
-rw-r--r--src/map/script-fun.cpp4
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;