unmovable_cmd.c
changeset 222 b88456001397
parent 193 0a7025304867
child 384 bf1303e754ff
--- a/unmovable_cmd.c	Sun Sep 12 20:28:52 2004 +0000
+++ b/unmovable_cmd.c	Sun Sep 12 21:49:38 2004 +0000
@@ -84,11 +84,11 @@
 		ormod = PLAYER_SPRITE_COLOR(_map_owner[ti->tile]);
 
 		t = _unmovable_display_datas[ti->map5 & 0x7F];
-		DrawGroundSprite(*(uint16*)t | ormod);
+		DrawGroundSprite(*(const uint16*)t | ormod);
 
 		t += sizeof(uint16);
 
-		for(dtss = (DrawTileSeqStruct *)t; (byte)dtss->delta_x != 0x80; dtss++) {
+		for(dtss = (const DrawTileSeqStruct *)t; (byte)dtss->delta_x != 0x80; dtss++) {
 			image =	dtss->image;
 			if (_display_opt & DO_TRANS_BUILDINGS) {
 				image |= ormod;