projects
/
fishladder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed invalid reads / some bugs
[fishladder.git]
/
fishladder.c
diff --git
a/fishladder.c
b/fishladder.c
index e3669a45e66f1cb46c0a9172fabc856ef9e7c638..52752d53905032b2627f180f36d1d85ec861479d 100644
(file)
--- a/
fishladder.c
+++ b/
fishladder.c
@@
-1373,9
+1373,9
@@
void vg_render(void)
// Draw splitters
- for( int y =
0; y < world.h
; y ++ )
+ for( int y =
2; y < world.h-2
; y ++ )
{
- for( int x =
0; x < world.w
; x ++ )
+ for( int x =
2; x < world.w-2
; x ++ )
{
struct cell *cell = pcell((v2i){x,y});