summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/npc.c2
-rw-r--r--src/map/npc.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index a17f83df7..026e61c0d 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -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_];
diff --git a/src/map/npc.h b/src/map/npc.h
index 5911a338d..5e5bcb41a 100644
--- a/src/map/npc.h
+++ b/src/map/npc.h
@@ -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,