diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-02-08 05:34:12 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-02-08 05:34:12 +0000 |
commit | 55e668ea98dcfcd7b7a4066ca6103f58b6534829 (patch) | |
tree | a80b0ea1b4ac33eb1cf85427f8fde0e6e484dd3c /src/map/unit.c | |
parent | 0a612a0a5a567605483b6401cbe0a2f7ee9133dc (diff) | |
download | hercules-55e668ea98dcfcd7b7a4066ca6103f58b6534829.tar.gz hercules-55e668ea98dcfcd7b7a4066ca6103f58b6534829.tar.bz2 hercules-55e668ea98dcfcd7b7a4066ca6103f58b6534829.tar.xz hercules-55e668ea98dcfcd7b7a4066ca6103f58b6534829.zip |
- Fixed a bunch of probably incorrect logical comparisons.
- Some small updates on the skill_db file (some max levels of npc skills, some elements for skills that didn't really need them)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9823 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/unit.c')
-rw-r--r-- | src/map/unit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/unit.c b/src/map/unit.c index 53296f61a..2a360e6ab 100644 --- a/src/map/unit.c +++ b/src/map/unit.c @@ -292,7 +292,7 @@ int unit_walktoxy( struct block_list *bl, int x, int y, int flag) { return 1; } - if(!(flag&2) && (!status_get_mode(bl)&MD_CANMOVE || !unit_can_move(bl))) + if(!(flag&2) && (!(status_get_mode(bl)&MD_CANMOVE) || !unit_can_move(bl))) return 0; ud->state.walk_easy = flag&1; |