diff options
author | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-11-12 08:08:19 +0000 |
---|---|---|
committer | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-11-12 08:08:19 +0000 |
commit | cef84b99cace2357a872ac2939f62ce08f916318 (patch) | |
tree | aeedbcec13042d63bd2425c63ec856d3e40b9e11 /src/map/npc.c | |
parent | b14078da1a3de5447a158cbfab324512e158b9b6 (diff) | |
download | hercules-cef84b99cace2357a872ac2939f62ce08f916318.tar.gz hercules-cef84b99cace2357a872ac2939f62ce08f916318.tar.bz2 hercules-cef84b99cace2357a872ac2939f62ce08f916318.tar.xz hercules-cef84b99cace2357a872ac2939f62ce08f916318.zip |
* Fixed npc class HIDDEN_WARP_NPC (139) being sent to the client, causing client crashes in poring war. It's a server-side "sprite" only.
- Updated Aegis NPC ID constants from current npcidentity.lub (569~603).
- Reintroduced HIDDEN_WARP_NPC script constant, which was removed by accident (since r14679).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14993 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/npc.c')
-rw-r--r-- | src/map/npc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/npc.c b/src/map/npc.c index 897475f73..dae395876 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_ == INVISIBLE_CLASS) + if( class_ == HIDDEN_WARP_CLASS || class_ == INVISIBLE_CLASS ) return &npc_viewdb[0]; if (npcdb_checkid(class_) || class_ == WARP_CLASS) return &npc_viewdb[class_]; |