mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-05-25 23:49:03 +00:00
Cleaning up the cmake
This commit is contained in:
@@ -21,9 +21,11 @@ namespace BBM
|
||||
auto &anim = entity.get<AnimationsComponent>();
|
||||
static int count = 0;
|
||||
|
||||
count++;
|
||||
if (count % 2)
|
||||
if (anim.skipNext) {
|
||||
anim.skipNext = false;
|
||||
return;
|
||||
}
|
||||
anim.skipNext = true;
|
||||
|
||||
if (anim.isDisabled())
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user