xensik / gsc-tool

A utility to compile & decompile IW engine game scripts.
GNU General Public License v3.0
241 stars 44 forks source link

[fix: compiler]: Allow self.wait to work #220

Closed diamante0018 closed 1 month ago

diamante0018 commented 2 months ago

it appears on Ghosts self.wait is a valid token name and right now it causes a compilation error because gsc-tool parses it as a function call rather than token name.

diamante0018 commented 2 months ago

https://github.com/xensik/gsc-tool/blob/be3abc1a763b2c64d5ace331feddd974a6baf862/src/gsc/engine/iw6_pc_token.cpp#L779

xensik commented 1 month ago

done #223