Originally posted by [b]theultramage[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=1700
Odd that noone noticed this before, but if you perform @refresh while sitting, you'll find yourself standing but unable to move.
Similarly, when you @refresh while dead, you'll see yourself stand up, and then die when you walk a step.
Partial fix:
CODE
int clif_refresh(struct map_session_data *sd)
{
...
if( pc_issit(sd) )
clif_sitting(&sd->bl, SELF);