mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-24 08:41:34 +11:00
update more
This commit is contained in:
parent
7708ccc4e1
commit
2974711a38
|
@ -211,7 +211,7 @@ impl<'a> Background<'a> {
|
|||
|
||||
if self.poisoned {
|
||||
let positions_to_be_updated =
|
||||
Rect::new(self.shadowed_position / 8, (30, 20).into()).iter();
|
||||
Rect::new(self.shadowed_position / 8 - (1, 1).into(), (31, 21).into()).iter();
|
||||
|
||||
if let Some(map) = &self.map {
|
||||
for (x, y) in positions_to_be_updated {
|
||||
|
|
Loading…
Reference in a new issue