aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.WinForms
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-03-01 18:21:56 -0500
committerlempamo <[email protected]>2017-03-01 18:21:56 -0500
commit85068729a6ba7188f33723d6345b1a556c88c0ce (patch)
treeedbfc857d0377b9e4f98d9ad58676523ae2b89f3 /ShiftOS.WinForms
parent6624c77f0e37c71b93bdb03aebf9b17a4472296e (diff)
downloadshiftos_thereturn-85068729a6ba7188f33723d6345b1a556c88c0ce.tar.gz
shiftos_thereturn-85068729a6ba7188f33723d6345b1a556c88c0ce.tar.bz2
shiftos_thereturn-85068729a6ba7188f33723d6345b1a556c88c0ce.zip
found a bug with the tail
Diffstat (limited to 'ShiftOS.WinForms')
-rw-r--r--ShiftOS.WinForms/Applications/Snakey.cs3
-rw-r--r--ShiftOS.WinForms/ShiftOS.WinForms.csproj1
2 files changed, 3 insertions, 1 deletions
diff --git a/ShiftOS.WinForms/Applications/Snakey.cs b/ShiftOS.WinForms/Applications/Snakey.cs
index 72bc0cc..65cf829 100644
--- a/ShiftOS.WinForms/Applications/Snakey.cs
+++ b/ShiftOS.WinForms/Applications/Snakey.cs
@@ -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--)
diff --git a/ShiftOS.WinForms/ShiftOS.WinForms.csproj b/ShiftOS.WinForms/ShiftOS.WinForms.csproj
index 480e11c..3cc9541 100644
--- a/ShiftOS.WinForms/ShiftOS.WinForms.csproj
+++ b/ShiftOS.WinForms/ShiftOS.WinForms.csproj
@@ -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" />