Bug Fixes
* Switching arrows no longer stops attacks. (bugreport:9270) * Looter monsters will now randomly pick items rather than going for the closest one. (bugreport:9268) * Follow up to0fed97c. Moved pc_setsit before skill_sit to not break skills that count players who are sitting. (bugreport:8966) * Follow up to2d2991a. Cleaned up some compile warnings. * Updated the inf3 descriptions in the skill_db.
This commit is contained in:
@@ -3100,7 +3100,7 @@ struct script_data* push_copy(struct script_stack* stack, int pos)
|
||||
}
|
||||
}
|
||||
|
||||
/// Removes the values in indexes [start,end[ from the stack.
|
||||
/// Removes the values in indexes [start,end] from the stack.
|
||||
/// Adjusts all stack pointers.
|
||||
void pop_stack(struct script_state* st, int start, int end)
|
||||
{
|
||||
@@ -18346,8 +18346,8 @@ BUILDIN_FUNC(sit)
|
||||
return SCRIPT_CMD_FAILURE;
|
||||
|
||||
if( !pc_issit(sd) ) {
|
||||
skill_sit(sd, 1);
|
||||
pc_setsit(sd);
|
||||
skill_sit(sd, 1);
|
||||
clif_sitting(&sd->bl);
|
||||
}
|
||||
return SCRIPT_CMD_SUCCESS;
|
||||
|
||||
Reference in New Issue
Block a user