slight improvement to attacked animation in player.sml

This commit is contained in:
2024-12-20 08:17:33 +00:00
parent 165abe32ba
commit 1e2ebe066f

View File

@@ -471,7 +471,7 @@ struct
case attacked of
NOT_ATTACKED => (0.5, 0.5, 0.5)
| ATTACKED amt =>
if amt mod 5 = 0 then
if amt mod 5 = 0 orelse amt mod 3 = 0 then
(0.9, 0.9, 0.9)
else
(0.5, 0.5, 0.5)