diff --git a/dlls/csstats2/csstats/Makefile.pl b/dlls/csstats2/csstats/Makefile.pl index 0fe4ab33..ff40c589 100755 --- a/dlls/csstats2/csstats/Makefile.pl +++ b/dlls/csstats2/csstats/Makefile.pl @@ -46,6 +46,11 @@ while ($cmd = shift) } } +if ($OPTIONS{"amd64"}) +{ + $gccf = "g++"; +} + $gcc = `$gccf --version`; if ($gcc =~ /2\.9/) { diff --git a/dlls/engine/Makefile.pl b/dlls/engine/Makefile.pl index a9cd5dcb..95972311 100755 --- a/dlls/engine/Makefile.pl +++ b/dlls/engine/Makefile.pl @@ -46,6 +46,11 @@ while ($cmd = shift) } } +if ($OPTIONS{"amd64"}) +{ + $gccf = "g++"; +} + $gcc = `$gccf --version`; if ($gcc =~ /2\.9/) { diff --git a/dlls/engine/entity.cpp b/dlls/engine/entity.cpp index 8f6826a8..9b51df6b 100755 --- a/dlls/engine/entity.cpp +++ b/dlls/engine/entity.cpp @@ -1366,7 +1366,7 @@ static cell AMX_NATIVE_CALL find_ent_in_sphere(AMX *amx, cell *params) edict_t *pEnt = INDEXENT2(idx); cell *cAddr = MF_GetAmxAddr(amx, params[2]); - REAL origin[3] = { + float origin[3] = { amx_ctof(cAddr[0]), amx_ctof(cAddr[1]), amx_ctof(cAddr[2])