diff options
| author | quou <quou@disroot.org> | 2023-05-08 21:09:34 +1000 | 
|---|---|---|
| committer | quou <quou@disroot.org> | 2023-05-08 21:09:34 +1000 | 
| commit | 8f963d3b4925c416222c3d153efd771efffee150 (patch) | |
| tree | 9b04d343fbcc662b7fba43677e39d70e3e4bd571 | |
| parent | 628d39f9b17667b00048bfdad1b7f104e32c17da (diff) | |
Fix a bug with the world not being initialised.
| -rw-r--r-- | world.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| @@ -3,7 +3,7 @@  #include "error.h"  void init_world(World* world) { -	int i, s = sizeof world; +	int i, s = sizeof *world;  	for (i = 0; i < s; i++) {  		((char*)world)[i] = 0;  	} |