fix brace alignment and replace asserts with log messages

This commit is contained in:
nc 2023-01-02 12:48:04 -05:00
commit 068a0a897f

View file

@ -55,11 +55,13 @@ int main(void)
// Update
//----------------------------------------------------------------------------------
ModelAnimation anim = modelAnimations[animIndex];
if (IsKeyPressed(KEY_UP)) {
if (IsKeyPressed(KEY_UP))
{
animIndex = (animIndex + 1) % animsCount;
}
if (IsKeyPressed(KEY_DOWN)) {
if (IsKeyPressed(KEY_DOWN))
{
animIndex = (animIndex + animsCount - 1) % animsCount;
}