ShadowsAdi / PrecacheList

A simple AmxModX Plugin, designed only for ReHLDS ( ReAPI ) to store into an array precached resources with the ability to unprecache resources.
GNU General Public License v3.0
0 stars 2 forks source link

wrong string checks #4

Closed wopox1337 closed 7 months ago

wopox1337 commented 7 months ago

https://github.com/ShadowsAdi/PrecacheList/blob/7d68ea1622cf9922e716d142ac83895d5fcb0e52/scripting/precache_list.sma#L91

but https://github.com/alliedmodders/amxmodx/blob/27f451a868c3154a0ab0d4d70e0a650074fd485d/compiler/libpc300/sc1.c#L1524

it mean: EOS == 0

(buffer[0] == EOS) == (!buffer[0])