[Fixed]
- Yet another compilation warning. git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6924 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
a06f5ed145
commit
2e4166cbfc
@ -3,6 +3,9 @@ Date Added
|
||||
AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
|
||||
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
|
||||
|
||||
2006/06/02
|
||||
* [Fixed]
|
||||
- Yet another compilation warning. [Lance]
|
||||
2006/06/01
|
||||
* Updated item_db.sql/mob_db.sql to current. [Skotlex]
|
||||
* Fixed NPC_SELFDESTRUCTION not showing nor dealing damage. [Skotlex]
|
||||
|
@ -1,12 +1,4 @@
|
||||
Microsoft Visual Studio Solution File, Format Version 8.00
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "map-server_txt", "vcproj-7.1\map-server_txt.vcproj", "{D356871D-58E1-450B-967A-E1E9646175AF}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "login-server_txt", "vcproj-7.1\login-server_txt.vcproj", "{D356871D-58E1-450B-967A-E2E9646175AF}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "char-server_txt", "vcproj-7.1\char-server_txt.vcproj", "{D356871D-58E1-450B-967A-E3E9646175AF}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
EndProjectSection
|
||||
@ -29,14 +21,6 @@ Global
|
||||
Release = Release
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfiguration) = postSolution
|
||||
{D356871D-58E1-450B-967A-E1E9646175AF}.Debug.ActiveCfg = Debug|Win32
|
||||
{D356871D-58E1-450B-967A-E1E9646175AF}.Debug.Build.0 = Debug|Win32
|
||||
{D356871D-58E1-450B-967A-E1E9646175AF}.Release.ActiveCfg = Release|Win32
|
||||
{D356871D-58E1-450B-967A-E1E9646175AF}.Release.Build.0 = Release|Win32
|
||||
{D356871D-58E1-450B-967A-E2E9646175AF}.Debug.ActiveCfg = Debug|Win32
|
||||
{D356871D-58E1-450B-967A-E2E9646175AF}.Debug.Build.0 = Debug|Win32
|
||||
{D356871D-58E1-450B-967A-E2E9646175AF}.Release.ActiveCfg = Release|Win32
|
||||
{D356871D-58E1-450B-967A-E2E9646175AF}.Release.Build.0 = Release|Win32
|
||||
{D356871D-58E1-450B-967A-E3E9646175AF}.Debug.ActiveCfg = Debug|Win32
|
||||
{D356871D-58E1-450B-967A-E3E9646175AF}.Debug.Build.0 = Debug|Win32
|
||||
{D356871D-58E1-450B-967A-E3E9646175AF}.Release.ActiveCfg = Release|Win32
|
||||
|
@ -153,7 +153,7 @@ void merc_heal(struct homun_data *hd,int hp,int sp)
|
||||
#ifndef TXT_ONLY
|
||||
void merc_save(struct homun_data *hd)
|
||||
{
|
||||
sprintf(tmp_sql, "UPDATE `homunculus` SET `class`='%d',`name`='%s',`level`='%d',`exp`='%d',`hunger`='%d',`hp`='%u',`sp`='%u',`skill1lv`='%d',`skill2lv`='%d',`skill3lv`='%d',`skill4lv`='%d',`skillpts`='%d' WHERE `id` = '%d'",
|
||||
sprintf(tmp_sql, "UPDATE `homunculus` SET `class`='%d',`name`='%s',`level`='%d',`exp`='%lu',`hunger`='%d',`hp`='%u',`sp`='%u',`skill1lv`='%d',`skill2lv`='%d',`skill3lv`='%d',`skill4lv`='%d',`skillpts`='%d' WHERE `id` = '%d'",
|
||||
hd->class_,hd->name,hd->level,hd->exp,hd->hunger_rate,
|
||||
hd->battle_status.hp,hd->battle_status.sp,
|
||||
hd->hskill[0].level,hd->hskill[1].level,hd->hskill[2].level,hd->hskill[3].level,
|
||||
|
@ -1331,7 +1331,7 @@ static int mob_ai_sub_lazy(DBKey key,void * data,va_list app)
|
||||
|
||||
md->last_thinktime=tick;
|
||||
|
||||
if (md->bl.prev==NULL || md->status.hp <= 0)
|
||||
if (md->bl.prev==NULL || md->base_status->hp == 0)
|
||||
return 1;
|
||||
|
||||
// 取り巻きモンスターの処理(呼び戻しされた時)
|
||||
|
@ -2838,7 +2838,7 @@ int do_final_npc(void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void npc_debug_warps_sub(struct npc_data *nd)
|
||||
/*static void npc_debug_warps_sub(struct npc_data *nd)
|
||||
{
|
||||
int m;
|
||||
if (nd->bl.type != BL_NPC || nd->bl.subtype != WARP || nd->bl.m < 0)
|
||||
@ -2869,7 +2869,7 @@ static void npc_debug_warps(void)
|
||||
for (m = 0; m < map_num; m++)
|
||||
for (i = 0; i < map[m].npc_num; i++)
|
||||
npc_debug_warps_sub(map[m].npc[i]);
|
||||
}
|
||||
}*/
|
||||
|
||||
/*==========================================
|
||||
* npc<EFBFBD>‰Šú‰»
|
||||
|
Loading…
x
Reference in New Issue
Block a user