fix brace alignment and replace asserts with log messages
This commit is contained in:
parent
6ad9e0b622
commit
068a0a897f
1 changed files with 107 additions and 51 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue