39aa75436e
When a netprop is an array the name resolves to the outer DataTable array, which we then need to recurse into to find the actual prop. For string_t props we need their sendprop info to call the proxy function to get their real storage address, but when accessing an array we were trying to read the prop off the outer DataTable prop, rather than the real string_t prop. Fix this by using the pProp variable that FIND_PROP_SEND helpfully provides for us. Tested by writing/reading the `m_szCrosshairCodes` array, which got changed to a string_t prop sometime since #1372. Fixes #1484 |
||
---|---|---|
.github | ||
bridge/include | ||
configs | ||
core | ||
editor | ||
extensions | ||
gamedata | ||
licenses | ||
loader | ||
plugins | ||
public | ||
sourcepawn@91b4bd5a91 | ||
tools | ||
translations | ||
versionlib | ||
.arcconfig | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
.travis.yml | ||
AMBuildScript | ||
appveyor.yml | ||
changelog.txt | ||
configure.py | ||
product.version | ||
pushbuild.txt | ||
README.md |
SourceMod
General
- SourceMod website: Source Engine scripting and server administration
- Forum: Discussion forum including plugin/extension development
- General documentation: Miscellaneous information about SourceMod
- Stable builds: The latest stable SourceMod releases
- Dev builds: Builds of recent development versions
Development
- Issue tracker: Issues that require back and forth communication
- Building SourceMod: Instructions on how to build SourceMod itself using AMBuild
- SourcePawn scripting: SourcePawn examples and introduction to the language
- SourceMod plugin API: Online SourceMod plugin API reference generated from the include files
- SourceMod extension development: C++ examples and introduction to various extension interfaces
Contact
License
SourceMod is licensed under the GNU General Public License version 3. Special exceptions are outlined in the LICENSE.txt file inside of the licenses folder.