Skip to content

Commit

Permalink
issue #4
Browse files Browse the repository at this point in the history
  • Loading branch information
Chikaosolu Amaechi committed Jul 22, 2023
1 parent edb153b commit 6a7f4c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ python server.py [HOST [PORT]]
### Controls
- WASD to move forward, left, backward, right.
- Ctrl + W to sprint.
- Space to jump.
- Left Click to destroy a block.
- Right Click or Cmd + Left Click to create a block.
Expand Down
1 change: 1 addition & 0 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2509,6 +2509,7 @@ void handle_movement(double dt) {
State *s = &g->players->state;
int sz = 0;
int sx = 0;
int isRunning = 0;
if (!g->typing) {
float m = dt * 1.0;
g->ortho = glfwGetKey(g->window, CRAFT_KEY_ORTHO) ? 64 : 0;
Expand Down

0 comments on commit 6a7f4c1

Please sign in to comment.