summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-21 14:26:54 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-21 14:26:54 +0000
commit31940caab4a36502a1243d04a3d013bc69c20041 (patch)
treec9c9908331d26d226aca67324d7867a9db31893c /src/map
parent92213a099890fab33c501f69c6ca7bd2c44bd307 (diff)
downloadhercules-31940caab4a36502a1243d04a3d013bc69c20041.tar.gz
hercules-31940caab4a36502a1243d04a3d013bc69c20041.tar.bz2
hercules-31940caab4a36502a1243d04a3d013bc69c20041.tar.xz
hercules-31940caab4a36502a1243d04a3d013bc69c20041.zip
- Removed the unrecognized class error messages from pc_mapid2jobid and pc_jobid2mapid since these can now trigger normally through the use of the script functions roclass and eaclass.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8833 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r--src/map/pc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 975c4a5c7..7287c0c81 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -3665,8 +3665,6 @@ int pc_jobid2mapid(unsigned short b_class)
class_ = MAPID_XMAS;
break;
default:
- if (battle_config.error_log)
- ShowError("pc_jobid2mapid: Unrecognized job %d!\n", b_class);
return -1;
}
return class_;
@@ -3816,8 +3814,6 @@ int pc_mapid2jobid(unsigned short class_, int sex) {
case MAPID_BABY_ROGUE:
return JOB_BABY_ROGUE;
default:
- if (battle_config.error_log)
- ShowError("pc_mapid2jobid: Unrecognized job %d!\n", class_);
return -1;
}
}