printf(" MovDelay[%d][%d] == %d\n", x,y, MovDelay[x][y]);
printf(" ChangeDelay[%d][%d] == %d\n", x,y, ChangeDelay[x][y]);
printf(" GfxElement[%d][%d] == %d\n", x,y, GfxElement[x][y]);
+ printf(" GfxAction[%d][%d] == %d\n", x,y, GfxAction[x][y]);
printf("\n");
}
}
case KSYM_Q:
case KSYM_q:
- local_player->dynamite = 1000;
- break;
+ {
+ int i;
+ for (i=0; i < MAX_INVENTORY_SIZE; i++)
+ if (local_player->inventory_size < MAX_INVENTORY_SIZE)
+ local_player->inventory_element[local_player->inventory_size++] =
+ EL_DYNAMITE;
+ }
+
+ break;
#if 0