allow camera shaking to exit map borders
This commit is contained in:
@@ -23,7 +23,7 @@ namespace OpenRA.Traits
|
||||
|
||||
public void Tick (Actor self)
|
||||
{
|
||||
Game.viewport.Scroll(GetScrollOffset());
|
||||
Game.viewport.Scroll(GetScrollOffset(), true);
|
||||
shakeEffects.RemoveAll(t => t.ExpiryTime == ticks);
|
||||
ticks++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user