Skip to content

Commit cda23a5

Browse files
committed
- fix windows build
1 parent 2c522d3 commit cda23a5

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src_rebuild/Game/C/targets.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ void DrawStopZone(VECTOR *pPosition)
328328

329329
if (pOut == (int*)&pPoly->x0)
330330
pOut = (int*)&pPoly->x1;
331-
else if (pOut == (long*)&pPoly->x1)
331+
else if (pOut == (int*)&pPoly->x1)
332332
pOut = (int*)&pPoly->x2;
333333
else
334334
pOut = (int*)&pPoly->x3;

windows_dev_prepare.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ $env:JPEG_DIR = $windows_jpeg_dir
3434
Set-Location -Path $project_folder
3535
Rename-Item -Path ($windows_jpeg_dir + '\\jconfig.vc') -NewName "jconfig.h"
3636

37-
& .\\premake5 vs2019
37+
& .\\premake5 vs2022
3838

3939
# Open solution
40-
& .\\project_vs2019_windows\\REDRIVER2.sln
40+
& .\\project_vs2022_windows\\REDRIVER2.sln

0 commit comments

Comments
 (0)