Skip to content

Commit 2cd6146

Browse files
committed
Changed namespace of Peds and Vehicle forms, to fix crash in standalone exes
1 parent 7e849fd commit 2cd6146

File tree

7 files changed

+22
-6
lines changed

7 files changed

+22
-6
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"profiles": {
3+
"CodeWalker.Peds": {
4+
"commandName": "Project",
5+
"workingDirectory": ".."
6+
}
7+
}
8+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"profiles": {
3+
"CodeWalker.Vehicles": {
4+
"commandName": "Project",
5+
"workingDirectory": ".."
6+
}
7+
}
8+
}

CodeWalker/PedsForm.Designer.cs

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CodeWalker/PedsForm.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
using System.Windows.Forms;
1919
using Color = SharpDX.Color;
2020

21-
namespace CodeWalker.Peds
21+
namespace CodeWalker
2222
{
2323
public partial class PedsForm : Form, DXForm
2424
{

CodeWalker/Program.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,11 @@ static void Main(string[] args)
8383
}
8484
else if (vehiclesmode)
8585
{
86-
Application.Run(new Vehicles.VehicleForm());
86+
Application.Run(new VehicleForm());
8787
}
8888
else if (pedsmode)
8989
{
90-
Application.Run(new Peds.PedsForm());
90+
Application.Run(new PedsForm());
9191
}
9292
else
9393
{

CodeWalker/VehicleForm.Designer.cs

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CodeWalker/VehicleForm.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
using System.Windows.Forms;
1919
using Color = SharpDX.Color;
2020

21-
namespace CodeWalker.Vehicles
21+
namespace CodeWalker
2222
{
2323
public partial class VehicleForm : Form, DXForm
2424
{

0 commit comments

Comments
 (0)