fix the improper sliding bug

This commit is contained in:
Jérémy Rosen 2007-03-13 23:08:59 +00:00
parent 674121a561
commit e310e2b2c6
3 changed files with 4 additions and 1 deletions

View file

@ -43,6 +43,8 @@ Version 1.3.1+svn:
* remove some old backward compatibility support
* set_name in attack modification [effect] no longer change the weapon's
description, use the new set_description instead
* hit=yes in anim is now an alias of hit=hit,kill instead of hit=hit
this should fix the sliding bug and fix more bugs than it creates
* user interface:
* new sounds for user interface events
* added the option to show warnings about deprecated WML usage

View file

@ -32,6 +32,7 @@ Version 1.3.1+svn:
* Fixed a bug that prevented dead units from fading out at the end of their
death animation
* The first turns starts with the proper time of day again.
* Units won't slide past their opponant on finishing blows
Version 1.3.1:
* Campaigns

View file

@ -219,7 +219,7 @@ fighting_animation::fighting_animation(const config& cfg) :unit_animation(cfg)
if(*hit == "no" || *hit == "miss") {
hits.push_back(MISS);
}
if(*hit == "kill" ) {
if(*hit == "yes" || *hit == "kill" ) {
hits.push_back(KILL);
}
}