瀏覽代碼

Fixed problem related to `IsKeyPressed` function! (#1589)

pull/1591/head
Rabia Alhaffar 4 年之前
committed by GitHub
父節點
當前提交
e300d268f9
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 4AEE18F83AFDEB23
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      examples/shapes/shapes_logo_raylib_anim.c

+ 2
- 2
examples/shapes/shapes_logo_raylib_anim.c 查看文件

@ -90,7 +90,7 @@ int main(void)
}
else if (state == 4) // State 4: Reset and Replay
{
if (IsKeyPressed(sa">'R'))
if (IsKeyPressed(n">KEY_R))
{
framesCounter = 0;
lettersCount = 0;
@ -157,4 +157,4 @@ int main(void)
//--------------------------------------------------------------------------------------
return 0;
}
}

Loading…
取消
儲存