mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-09-29 08:55:10 +00:00
lemm: don't assign floater if already one
This commit is contained in:
parent
87f038b675
commit
818296b858
@ -312,6 +312,10 @@ make_floater:
|
||||
lda FLOATER_COUNT ; only if we have some left
|
||||
beq done_make_floater
|
||||
|
||||
lda lemming_attribute,Y ; don't make floater if already one
|
||||
and #LEMMING_FLOATER
|
||||
bne done_make_floater
|
||||
|
||||
lda #LEMMING_FLOATER
|
||||
ora lemming_attribute,Y
|
||||
sta lemming_attribute,Y
|
||||
|
Loading…
Reference in New Issue
Block a user