Fixed problem with OnTouch on NPC ID 139, blame on r14993, bugreport:5206
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15441 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
7ee1dd0052
commit
c827a4e13b
@ -96,7 +96,7 @@ static struct script_event_s
|
||||
|
||||
struct view_data* npc_get_viewdata(int class_)
|
||||
{ //Returns the viewdata for normal npc classes.
|
||||
if( class_ == HIDDEN_WARP_CLASS || class_ == INVISIBLE_CLASS )
|
||||
if( class_ == INVISIBLE_CLASS )
|
||||
return &npc_viewdb[0];
|
||||
if (npcdb_checkid(class_) || class_ == WARP_CLASS)
|
||||
return &npc_viewdb[class_];
|
||||
|
@ -72,7 +72,7 @@ struct npc_data {
|
||||
enum actor_classes
|
||||
{
|
||||
WARP_CLASS = 45,
|
||||
HIDDEN_WARP_CLASS = 139, // server-side only, never sent to client
|
||||
HIDDEN_WARP_CLASS = 139,
|
||||
WARP_DEBUG_CLASS = 722,
|
||||
FLAG_CLASS = 722,
|
||||
INVISIBLE_CLASS = 32767,
|
||||
|
Loading…
x
Reference in New Issue
Block a user