Changed namespace of Peds and Vehicle forms, to fix crash in standalone exes

This commit is contained in:
dexy 2020-02-25 15:59:32 +11:00
parent 7e849fd891
commit 2cd61469e2
7 changed files with 22 additions and 6 deletions

View File

@ -0,0 +1,8 @@
{
"profiles": {
"CodeWalker.Peds": {
"commandName": "Project",
"workingDirectory": ".."
}
}
}

View File

@ -0,0 +1,8 @@
{
"profiles": {
"CodeWalker.Vehicles": {
"commandName": "Project",
"workingDirectory": ".."
}
}
}

View File

@ -1,4 +1,4 @@
namespace CodeWalker.Peds
namespace CodeWalker
{
partial class PedsForm
{

View File

@ -18,7 +18,7 @@ using System.Threading.Tasks;
using System.Windows.Forms;
using Color = SharpDX.Color;
namespace CodeWalker.Peds
namespace CodeWalker
{
public partial class PedsForm : Form, DXForm
{

View File

@ -83,11 +83,11 @@ namespace CodeWalker
}
else if (vehiclesmode)
{
Application.Run(new Vehicles.VehicleForm());
Application.Run(new VehicleForm());
}
else if (pedsmode)
{
Application.Run(new Peds.PedsForm());
Application.Run(new PedsForm());
}
else
{

View File

@ -1,4 +1,4 @@
namespace CodeWalker.Vehicles
namespace CodeWalker
{
partial class VehicleForm
{

View File

@ -18,7 +18,7 @@ using System.Threading.Tasks;
using System.Windows.Forms;
using Color = SharpDX.Color;
namespace CodeWalker.Vehicles
namespace CodeWalker
{
public partial class VehicleForm : Form, DXForm
{