H-uru/dirtsand

Console command crash

Hoikas opened this issue · 1 comments

As of the ST::string merge, DirtSand crashes when attempting to use a console command with zero arguments. The restrict command is affected by this issue. The crashing line is dsmain.cpp:190

ST::string arg_str = ST::string(cmdbuf + args.front().size() + 1);
zrax commented

The fact that it didn't crash before is pure luck...