stop crashing

This commit is contained in:
Chris Young 2012-08-05 10:07:26 +01:00
parent 0f1685f131
commit 5a055e3b05
1 changed files with 2 additions and 0 deletions

View File

@ -668,6 +668,8 @@ bool ami_bitmap_tile(int x, int y, int width, int height,
LOG(("[ami_plotter] Entered ami_bitmap_tile()"));
#endif
if(palette_mapped == true) return true;
int xf,yf,xm,ym,oy,ox;
struct BitMap *tbm = NULL;
struct Hook *bfh = NULL;