summaryrefslogtreecommitdiff
path: root/game/src/plugins
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2025-02-01 11:03:50 -0800
committer3gg <3gg@shellblade.net>2025-02-01 11:03:50 -0800
commitef252c41a8d7776c2c9991d9084c4aa12a767013 (patch)
tree5a6dc4bf95a6b35b408fee47e786bc65c9000805 /game/src/plugins
parent1c9c56ca3b00a0ed3951caa100199200629b7f47 (diff)
Fix
Diffstat (limited to 'game/src/plugins')
-rw-r--r--game/src/plugins/pong.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/game/src/plugins/pong.c b/game/src/plugins/pong.c
index 070cc6f..c1c55be 100644
--- a/game/src/plugins/pong.c
+++ b/game/src/plugins/pong.c
@@ -98,10 +98,10 @@ void move_human_player(Player* player, R dt) {
98 assert(player); 98 assert(player);
99 99
100 R speed = 0; 100 R speed = 0;
101 if (gfx_is_key_pressed('a')) { 101 if (gfx_app_is_key_pressed('a')) {
102 speed -= PLAYER_SPEED; 102 speed -= PLAYER_SPEED;
103 } 103 }
104 if (gfx_is_key_pressed('d')) { 104 if (gfx_app_is_key_pressed('d')) {
105 speed += PLAYER_SPEED; 105 speed += PLAYER_SPEED;
106 } 106 }
107 107