Update SourcePawn (#2052)
* Update SourcePawn * Fix using SourceMod version as SourcePawn version
This commit is contained in:
@@ -773,6 +773,8 @@ if SM.use_auto_versioning():
|
|||||||
)
|
)
|
||||||
|
|
||||||
class SPRoot(object):
|
class SPRoot(object):
|
||||||
|
def __init__(self):
|
||||||
|
self.generated_headers = SM.generated_headers
|
||||||
# SourcePawn's build scripts are always one-offs, and attach the current target
|
# SourcePawn's build scripts are always one-offs, and attach the current target
|
||||||
# to the builder, so we have to provide a shim to our StaticLibrary() method.
|
# to the builder, so we have to provide a shim to our StaticLibrary() method.
|
||||||
def StaticLibrary(self, builder, name):
|
def StaticLibrary(self, builder, name):
|
||||||
|
|||||||
@@ -275,7 +275,6 @@ stock int RoundFloat(float value)
|
|||||||
* User defined operators.
|
* User defined operators.
|
||||||
*/
|
*/
|
||||||
#if !defined __sourcepawn2__
|
#if !defined __sourcepawn2__
|
||||||
#pragma rational Float
|
|
||||||
|
|
||||||
// Internal aliases for backwards compatibility.
|
// Internal aliases for backwards compatibility.
|
||||||
native float __FLOAT_MUL__(float a, float b) = FloatMul;
|
native float __FLOAT_MUL__(float a, float b) = FloatMul;
|
||||||
|
|||||||
+1
-1
Submodule sourcepawn updated: 9cf9f31d45...4328449dac
Reference in New Issue
Block a user