[Fixed]
- Typo in mob_dead causing crash. Thanks to reddozen and his gang for testing. - Compilation warnings git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6835 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
0e42a69087
commit
435f579918
@ -4,6 +4,9 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
|
|||||||
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
|
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
|
||||||
|
|
||||||
2006/05/29
|
2006/05/29
|
||||||
|
* [Fixed]:
|
||||||
|
- Typo in mob_dead causing crash. Thanks to reddozen and his gang for testing.
|
||||||
|
[Lance]
|
||||||
* Cleaned up friend list saving and fixed loading of friends.txt file
|
* Cleaned up friend list saving and fixed loading of friends.txt file
|
||||||
(char-txt) [Skotlex]
|
(char-txt) [Skotlex]
|
||||||
* Added the Arunafeltz maps, not tested yet [Playtester]
|
* Added the Arunafeltz maps, not tested yet [Playtester]
|
||||||
@ -14,7 +17,7 @@ IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
|
|||||||
* Fixed battle_check_target check on BCT_ALL to check versus BL_CHAR
|
* Fixed battle_check_target check on BCT_ALL to check versus BL_CHAR
|
||||||
instead of BL_PC and BL_MOB [Skotlex]
|
instead of BL_PC and BL_MOB [Skotlex]
|
||||||
* [Fixed]:
|
* [Fixed]:
|
||||||
- Declaration of int map_getcellp(struct map_data*,int,int,cell_t);
|
- Declaration of int map_getcellp(struct map_data*,int,int,cell_t); [Lance]
|
||||||
* Removed Undead being inmune to poison status. [Skotlex]
|
* Removed Undead being inmune to poison status. [Skotlex]
|
||||||
* Removed speed penalty from SC_SKA [Skotlex]
|
* Removed speed penalty from SC_SKA [Skotlex]
|
||||||
* Fixed SC_SPURT triggering on Soul Linkers. [Skotlex]
|
* Fixed SC_SPURT triggering on Soul Linkers. [Skotlex]
|
||||||
|
@ -1744,7 +1744,7 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type)
|
|||||||
tmpsd[temp] = map_charid2sd(md->dmglog[i].id);
|
tmpsd[temp] = map_charid2sd(md->dmglog[i].id);
|
||||||
if(tmpsd[temp] == NULL)
|
if(tmpsd[temp] == NULL)
|
||||||
continue;
|
continue;
|
||||||
if(tmpsd[temp]->bl.m != md->bl.m || pc_isdead(tmpsd[i]))
|
if(tmpsd[temp]->bl.m != md->bl.m || pc_isdead(tmpsd[temp]))
|
||||||
continue;
|
continue;
|
||||||
temp++;
|
temp++;
|
||||||
|
|
||||||
|
@ -549,18 +549,18 @@ int status_damage(struct block_list *src,struct block_list *target,int hp, int s
|
|||||||
}
|
}
|
||||||
status_change_end(target, SC_DEVOTION, -1);
|
status_change_end(target, SC_DEVOTION, -1);
|
||||||
}
|
}
|
||||||
if(sc->data[SC_DANCING].timer != -1 && hp > status->max_hp>>2)
|
if(sc->data[SC_DANCING].timer != -1 && hp > (signed int)status->max_hp>>2)
|
||||||
skill_stop_dancing(target);
|
skill_stop_dancing(target);
|
||||||
}
|
}
|
||||||
unit_skillcastcancel(target, 2);
|
unit_skillcastcancel(target, 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (hp >= status->hp) {
|
if (hp >= (signed int)status->hp) {
|
||||||
if (flag&2) return 0;
|
if (flag&2) return 0;
|
||||||
hp = status->hp;
|
hp = status->hp;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (sp > status->sp) {
|
if (sp > (signed int)status->sp) {
|
||||||
if (flag&2) return 0;
|
if (flag&2) return 0;
|
||||||
sp = status->sp;
|
sp = status->sp;
|
||||||
}
|
}
|
||||||
@ -621,7 +621,7 @@ int status_heal(struct block_list *bl,int hp,int sp, int flag)
|
|||||||
hp = 0;
|
hp = 0;
|
||||||
|
|
||||||
|
|
||||||
if(hp > status->max_hp - status->hp)
|
if(hp > (signed int)(status->max_hp - status->hp))
|
||||||
hp = status->max_hp - status->hp;
|
hp = status->max_hp - status->hp;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -631,7 +631,7 @@ int status_heal(struct block_list *bl,int hp,int sp, int flag)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(sp) {
|
if(sp) {
|
||||||
if(sp > status->max_sp - status->sp)
|
if(sp > (signed int)(status->max_sp - status->sp))
|
||||||
sp = status->max_sp - status->sp;
|
sp = status->max_sp - status->sp;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user