summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.appveyor.yml2
-rw-r--r--premake5.lua3
-rw-r--r--src/control/Script.cpp1
3 files changed, 5 insertions, 1 deletions
diff --git a/.appveyor.yml b/.appveyor.yml
index a5b44461..41ada399 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -43,3 +43,5 @@ after_build:
artifacts:
- path: bin/%CONFIGURATION%/re3.dll
name: re3.dll
+- path: bin/%CONFIGURATION%/re3.pdb
+ name: re3.pdb
diff --git a/premake5.lua b/premake5.lua
index 4ec2eca1..173fe3e4 100644
--- a/premake5.lua
+++ b/premake5.lua
@@ -94,13 +94,14 @@ project "re3"
filter "configurations:Debug"
defines { "DEBUG" }
staticruntime "on"
- symbols "On"
+ symbols "Full"
setpaths("$(GTA_III_RE_DIR)/", "gta3.exe", "plugins/")
filter "configurations:Release"
defines { "NDEBUG" }
optimize "On"
staticruntime "on"
+ symbols "Full"
setpaths("$(GTA_III_RE_DIR)/", "gta3.exe", "plugins/")
filter "configurations:ReleaseFH"
diff --git a/src/control/Script.cpp b/src/control/Script.cpp
index ff89f0fc..1f085d32 100644
--- a/src/control/Script.cpp
+++ b/src/control/Script.cpp
@@ -8921,6 +8921,7 @@ int8 CRunningScript::ProcessCommands1000To1099(int32 command)
UpdateCompareFlag(CCredits::AreCreditsDone());
return 0;
case COMMAND_CREATE_SINGLE_PARTICLE:
+ CollectParameters(&m_nIp, 8);
CParticle::AddParticle((tParticleType)ScriptParams[0], *(CVector*)&ScriptParams[1],
*(CVector*)&ScriptParams[4], nil, *(float*)&ScriptParams[7], 0, 0, 0, 0);
return 0;