diff options
author | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-01-03 12:01:43 +0000 |
---|---|---|
committer | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-01-03 12:01:43 +0000 |
commit | e83c989677addb0eb333f9917a116549cd147bae (patch) | |
tree | 0c0d27678ca17137bac989c3766749c1d0d8b56e /src/map/pc.c | |
parent | b1f782455b315a2bce76cb8b0564a8dfd3cdc680 (diff) | |
download | hercules-e83c989677addb0eb333f9917a116549cd147bae.tar.gz hercules-e83c989677addb0eb333f9917a116549cd147bae.tar.bz2 hercules-e83c989677addb0eb333f9917a116549cd147bae.tar.xz hercules-e83c989677addb0eb333f9917a116549cd147bae.zip |
- Fixed FIFO defines in TURBO mode.
Ref: http://www.eathena.ws/board/index.php?showtopic=129766
The rest of the TURBO related errors are about the HEAD defines having to be at the start of a block because they contain a variable declaration. (i won't fix these)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9611 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index f0eb54ad6..0b2e7a56e 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -4851,13 +4851,13 @@ int pc_dead(struct map_session_data *sd,struct block_list *src) if(sd->duel_invite > 0) duel_reject(sd->duel_invite, sd); } - + pc_setdead(sd); //Reset ticks. sd->hp_loss_tick = sd->sp_loss_tick = 0; - + pc_setglobalreg(sd,"PC_DIE_COUNTER",++sd->die_counter); - + if (sd->state.event_death){ if(!src) pc_setglobalreg(sd, "killerrid", 0); @@ -4865,7 +4865,7 @@ int pc_dead(struct map_session_data *sd,struct block_list *src) pc_setglobalreg(sd,"killerrid",src->id); npc_script_event(sd,NPCE_DIE); } - + if ( sd && sd->spiritball && (sd->class_&MAPID_BASEMASK)==MAPID_GUNSLINGER ) // maybe also monks' spiritballs ? pc_delspiritball(sd,sd->spiritball,0); @@ -4900,7 +4900,7 @@ int pc_dead(struct map_session_data *sd,struct block_list *src) ssd->status.manner -= 5; if(ssd->status.manner < 0) sc_start(src,SC_NOCHAT,100,0,0); - + // PK/Karma system code (not enabled yet) [celest] // originally from Kade Online, so i don't know if any of these is correct ^^; // note: karma is measured REVERSE, so more karma = more 'evil' / less honourable, @@ -4926,7 +4926,7 @@ int pc_dead(struct map_session_data *sd,struct block_list *src) } break; } - + // PK/Karma system code (not enabled yet) [celest] /* |