Small correction for SHC_SAVAGE_IMPACT and SHC_DANCING_KNIFE skills (#7496)
* Small correction for SHC_SAVAGE_IMPACT and SHC_DANCING_KNIFE skills * SHC_SAVAGE_IMPACT should move the player from 1 cell to the target, between the target and the player * SHC_DANCING_KNIFE shouldn't force the player to stand * The behaviour should be the same for GC_CROSSIMPACT than SHC_SAVAGE_IMPACT Thanks to @aleos89 @Lemongrass3110 !
This commit is contained in:
@@ -22208,7 +22208,7 @@ BUILDIN_FUNC(pushpc)
|
||||
}
|
||||
else if(cells<0)
|
||||
{// pushing backwards
|
||||
dir = (dir+DIR_MAX/2)%DIR_MAX; // turn around
|
||||
dir = direction_opposite( static_cast<enum directions>( dir ) ); // turn around
|
||||
cells = -cells;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user