found a bug with the tail

This commit is contained in:
lempamo 2017-03-01 18:21:56 -05:00
parent 6624c77f0e
commit 85068729a6
2 changed files with 3 additions and 1 deletions

View file

@ -116,7 +116,8 @@ namespace ShiftOS.WinForms.Applications
((PictureBox)tableLayoutPanel1.GetControlFromPosition(headX, headY)).Image = Properties.Resources.SnakeyBody;
if (!extending)
{
((PictureBox)tableLayoutPanel1.GetControlFromPosition(tailX, tailY)).Image = Properties.Resources.SnakeyBG;
tail.Image = Properties.Resources.SnakeyBG; //mikey its here
tail.Refresh();
snakepartlist[newHeadX, newHeadY] = snakelength;
bool splassigned = false;
for (int s = snakelength; s > 0; s--)

View file

@ -572,6 +572,7 @@
<None Include="Resources\SnakeyHeadD.png" />
<None Include="Resources\SnakeyHeadL.png" />
<None Include="Resources\SnakeyHeadR.png" />
<None Include="Resources\SnakeyFruit.png" />
<Content Include="SystemIcons\iconArtpad.png" />
<Content Include="SystemIcons\iconAudioPlayer.png" />
<Content Include="SystemIcons\iconBitnoteDigger.png" />