mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-12 17:32:30 -04:00
fix crashes
This commit is contained in:
parent
04ab5898ef
commit
a8c9fced4c
12 changed files with 65 additions and 59 deletions
|
@ -618,6 +618,7 @@ void show_cel(int celx,int cely,const void *stena,int xofs,int yofs,char rev, in
|
|||
x=x3d->xpos+xofs;
|
||||
if (-x>realsx) return;
|
||||
p=stena;p+=SHADE_PAL+2*2+2;
|
||||
zoom.texture_end = p + txtsx*txtsy;
|
||||
i=0;
|
||||
while (x<0)
|
||||
{
|
||||
|
@ -690,6 +691,7 @@ void show_cel2(int celx,int cely,const void *stena,int xofs,int yofs,char rev, i
|
|||
if (celx<=0) x=x3d->xpos+xofs; else x=x3d->xpos2+xofs;
|
||||
if (-x>realsx) return;
|
||||
p=stena;p+=SHADE_PAL+2*2+2;
|
||||
zoom.texture_end = p + txtsx*txtsy;
|
||||
i=0;
|
||||
while (x<0)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue