Issue information

Issue ID
#5838
Status
Working as Intended
Severity
None
Started
Hercules Elf Bot
May 27, 2012 12:04
Last Post
Hercules Elf Bot
Jun 9, 2012 21:18
Confirmation
N/A

Hercules Elf Bot - May 27, 2012 12:04

Originally posted by [b]frenzmu06[/b]
warpparty (command) doesnt work on maps with mapflags with nowarp/noreturn (considering that it was executed/triggered trough npc)

using r15950

Hercules Elf Bot - May 27, 2012 12:07

Originally posted by [b]malufett[/b]
I think it was intended...

[CODE]
case 3: // Leader
case 4: // m,x,y
if(!map[pl_sd->bl.m].flag.noreturn && !map[pl_sd->bl.m].flag.nowarp)
pc_setpos(pl_sd,mapindex,x,y,CLR_TELEPORT);
break;[/CODE]

Hercules Elf Bot - May 27, 2012 13:12

Originally posted by [b]frenzmu06[/b]
well if it's intended then we can't do anything about it, so it means its not a bug?

This post has been edited by frenzmu06 on May 27, 2012 13:13

Hercules Elf Bot - May 27, 2012 13:21

Originally posted by [b]malufett[/b]
yes..

but if you want modify script.c then remove the mapflag check..

[color=#000088]if[/color][color=#666600](![/color][color=#000000]map[/color][color=#666600][[/color][color=#000000]pl_sd[/color][color=#666600]->[/color][color=#000000]bl[/color][color=#666600].[/color][color=#000000]m[/color][color=#666600]].[/color][color=#000000]flag[/color][color=#666600].[/color][color=#000000]noreturn [/color][color=#666600]&&[/color][color=#000000] [/color][color=#666600]![/color][color=#000000]map[/color][color=#666600][[/color][color=#000000]pl_sd[/color][color=#666600]->[/color][color=#000000]bl[/color][color=#666600].[/color][color=#000000]m[/color][color=#666600]].[/color][color=#000000]flag[/color][color=#666600].[/color][color=#000000]nowarp[/color][color=#666600])[/color]

Hercules Elf Bot - May 27, 2012 14:04

Originally posted by [b]frenzmu06[/b]
ok tnx. also tnx for the src tip

so this post should now be invalid