summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-01-14 11:34:59 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-01-14 11:34:59 +0000
commit6aab03b220d3d65be71f56b4ff77ac4fa261571b (patch)
tree0156201c8bf17e71fe066336cd508417fda2c9cd /src/map/pc.c
parentc59ea57a893908f54d2960a1e18d2473a1bb8196 (diff)
downloadhercules-6aab03b220d3d65be71f56b4ff77ac4fa261571b.tar.gz
hercules-6aab03b220d3d65be71f56b4ff77ac4fa261571b.tar.bz2
hercules-6aab03b220d3d65be71f56b4ff77ac4fa261571b.tar.xz
hercules-6aab03b220d3d65be71f56b4ff77ac4fa261571b.zip
Applied a temp patch to make some npc-executed atcommands work again (bugreport:790).
Added support for right-click-gm-menu kicking NPC objects. Removed redundant function npc_checknear2(). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12073 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index d3281985a..20539d5cc 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -91,7 +91,7 @@ int pc_isGM(struct map_session_data* sd)
nullpo_retr(0, sd);
if( sd->bl.type != BL_PC )
- return 0;
+ return 99;
ARR_FIND( 0, GM_num, i, gm_account[i].account_id == sd->status.account_id );
return ( i < GM_num ) ? gm_account[i].level : 0;