1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2026-04-21 22:17:15 +00:00

When spiders attack

This commit is contained in:
David Schmenk
2020-01-05 14:43:58 -08:00
parent 1fe6191343
commit 42888ed95a
2 changed files with 55 additions and 26 deletions
+1 -1
View File
@@ -129,7 +129,7 @@ export def spriteCompile(w, h, xcenter, ycenter, srcptr)#1
var sprtptr, bytewidth, spritesize, i
sprtptr = heapalloc(t_sprite)
bytewidth = (w + 7) / 7 + 1
bytewidth = (w + 13) / 7
sprtptr->s_pitch = bytewidth
spritesize = bytewidth * h
sprtptr=>s_size = spritesize