Skip to content

Commit

Permalink
Update SourcePawn (#2052)
Browse files Browse the repository at this point in the history
* Update SourcePawn

* Fix using SourceMod version as SourcePawn version
  • Loading branch information
peace-maker authored Oct 6, 2023
1 parent e3a01b0 commit e88e934
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions AMBuildScript
Original file line number Diff line number Diff line change
Expand Up @@ -773,6 +773,8 @@ if SM.use_auto_versioning():
)

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
# to the builder, so we have to provide a shim to our StaticLibrary() method.
def StaticLibrary(self, builder, name):
Expand Down
1 change: 0 additions & 1 deletion plugins/include/float.inc
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,6 @@ stock int RoundFloat(float value)
* User defined operators.
*/
#if !defined __sourcepawn2__
#pragma rational Float
// Internal aliases for backwards compatibility.
native float __FLOAT_MUL__(float a, float b) = FloatMul;
Expand Down
2 changes: 1 addition & 1 deletion sourcepawn
Submodule sourcepawn updated 155 files

0 comments on commit e88e934

Please sign in to comment.