diff options
author | shennetsind <ind@henn.et> | 2014-01-24 18:18:39 -0200 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2014-01-24 18:18:39 -0200 |
commit | 2263dc4660c6668c373f6a9e654e21bea8c419e4 (patch) | |
tree | 5a02d740a74d75979e6adee90acd4d63fe807036 /src/map/npc.c | |
parent | 7438e401b4209198691d3c8ca65b6c702338fa41 (diff) | |
parent | 8fb2b31e8de73872baddc3d983a4eea5c359329d (diff) | |
download | hercules-2263dc4660c6668c373f6a9e654e21bea8c419e4.tar.gz hercules-2263dc4660c6668c373f6a9e654e21bea8c419e4.tar.bz2 hercules-2263dc4660c6668c373f6a9e654e21bea8c419e4.tar.xz hercules-2263dc4660c6668c373f6a9e654e21bea8c419e4.zip |
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Diffstat (limited to 'src/map/npc.c')
-rw-r--r-- | src/map/npc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/npc.c b/src/map/npc.c index 722e5199c..458fc52ed 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -2432,7 +2432,7 @@ int npc_parseview(const char* w4, const char* start, const char* buffer, const c // Extract view ID / constant while (w4[i] != '\0') { - if (isspace(w4[i]) || w4[i] == '/' || w4[i] == ',') + if (ISSPACE(w4[i]) || w4[i] == '/' || w4[i] == ',') break; i++; @@ -2464,7 +2464,7 @@ bool npc_viewisid(const char * viewid) { // Loop through view, looking for non-numeric character. while (*viewid) { - if (isdigit(*viewid++) == 0) return false; + if (ISDIGIT(*viewid++) == 0) return false; } } |