diff --git a/Pre Compiled/Windows/ColAndreas.dll b/Pre Compiled/Windows/ColAndreas.dll index e06c2d6..0a593a4 100644 Binary files a/Pre Compiled/Windows/ColAndreas.dll and b/Pre Compiled/Windows/ColAndreas.dll differ diff --git a/Pre Compiled/Wizard/ColAndreasWizard.exe b/Pre Compiled/Wizard/ColAndreasWizard.exe index 282296d..a4131a6 100644 Binary files a/Pre Compiled/Wizard/ColAndreasWizard.exe and b/Pre Compiled/Wizard/ColAndreasWizard.exe differ diff --git a/src/ColAndreasDatabaseReader.cpp b/src/ColAndreasDatabaseReader.cpp index ab686d2..424bf6b 100644 --- a/src/ColAndreasDatabaseReader.cpp +++ b/src/ColAndreasDatabaseReader.cpp @@ -15,7 +15,7 @@ void DeleteCollisionData() } -bool ReadColandreasDatabaseFile(string FileLocation) +bool ReadColandreasDatabaseFile(std::string FileLocation) { bool returnValue = false; @@ -39,7 +39,7 @@ bool ReadColandreasDatabaseFile(string FileLocation) GetBytes(buffer, FileExtension, FileIndex, 5); //If is a ColAndreas binary file. - if (strcmp(FileExtension, "cadb") == 0) + if (strcmp(FileExtension, "cadf") == 0) { GetBytes(buffer, ModelCount, FileIndex, 2); GetBytes(buffer, IPLCount, FileIndex, 4); diff --git a/src/Natives.cpp b/src/Natives.cpp index 695140e..5a8be8e 100644 --- a/src/Natives.cpp +++ b/src/Natives.cpp @@ -377,6 +377,7 @@ cell AMX_NATIVE_CALL ColAndreasNatives::CA_GetModelBoundingSphere(AMX *amx, cell return 0; } + // CA_RayCastReflectionVector(Float:startx, Float:starty, Float:startz, Float:endx, Float:endy, Float:endz, &Float:vector); cell AMX_NATIVE_CALL ColAndreasNatives::CA_RayCastReflectionVector(AMX *amx, cell *params) { @@ -413,6 +414,8 @@ cell AMX_NATIVE_CALL ColAndreasNatives::CA_RayCastReflectionVector(AMX *amx, cel return 0; } + + // CA_RayCastLineNormal(Float:startx, Float:starty, Float:startz, Float:endx, Float:endy, Float:endz, &Float:vector); cell AMX_NATIVE_CALL ColAndreasNatives::CA_RayCastLineNormal(AMX *amx, cell *params) {