Skip to content

Commit

Permalink
Fix for wizard and .dll
Browse files Browse the repository at this point in the history
  • Loading branch information
Pottus committed May 16, 2015
1 parent 1dc288f commit 8687a96
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
Binary file modified Pre Compiled/Windows/ColAndreas.dll
Binary file not shown.
Binary file modified Pre Compiled/Wizard/ColAndreasWizard.exe
Binary file not shown.
4 changes: 2 additions & 2 deletions src/ColAndreasDatabaseReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ void DeleteCollisionData()
}


bool ReadColandreasDatabaseFile(string FileLocation)
bool ReadColandreasDatabaseFile(std::string FileLocation)
{
bool returnValue = false;

Expand All @@ -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);
Expand Down
3 changes: 3 additions & 0 deletions src/Natives.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down Expand Up @@ -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)
{
Expand Down

0 comments on commit 8687a96

Please sign in to comment.