I found very annoying and dangerous bug in both srcds and hlds.
To reproduce it create test.cfg with the following content:

---
// mp_timelimit 0;echo timelimit set
echo end of test.cfg
---

And put it into cstrike/cfg or into cstrike.
What output in the console we should have after exec test.cfg?
Common sense says that it must be:

end of test.cfg

But actually what we receive is:

timelimit set
end of test.cfg

Thus comment in config files is not commenting everything till the end
of line but up to first semicolon instead.
This behaviour is very unnatural and may lead to very hard to isolate
issues with complicated config files.
Looking forward to fix for this :)

Regards,

Roman

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds

Reply via email to