summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-17 00:57:42 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-17 00:57:42 +0000
commitd687aeea66fc315611127a757a80b708bd66270e (patch)
tree528d101d4a9baf204b9840ab16c211b409ee775e /src/map/npc.c
parent29390f511f5b6340a11c2f33ba5746e91f94616e (diff)
downloadhercules-d687aeea66fc315611127a757a80b708bd66270e.tar.gz
hercules-d687aeea66fc315611127a757a80b708bd66270e.tar.bz2
hercules-d687aeea66fc315611127a757a80b708bd66270e.tar.xz
hercules-d687aeea66fc315611127a757a80b708bd66270e.zip
- Changed the npc_id mismatch warning to be more informative.
- Modified @monster command to use map_search_freecell (prevents mobs spawning on non-walkable tiles) - Modified @nuke to invoke skill_cast_nodamage_id instead of the damage_id version (fixes sprite and splash damage for the skill) - Corrected Venom Knife's requiring two knives per use. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6124 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/npc.c')
-rw-r--r--src/map/npc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index a5014de51..f09a4a367 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -1072,7 +1072,7 @@ int npc_scriptcont(struct map_session_data *sd,int id)
nullpo_retr(1, sd);
if (id!=sd->npc_id){
- ShowWarning("npc_scriptcont: sd->npc_id is not id.\n");
+ ShowWarning("npc_scriptcont: sd->npc_id (%d) is not id (%d).\n", sd->npc_id, id);
return 1;
}
if (npc_checknear(sd,id)){