]> icculus.org git repositories - divverent/darkplaces.git/commit
make str2chr return 0 when used on an index outside the string (before, it didn't...
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 28 Jul 2007 15:50:49 +0000 (15:50 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 28 Jul 2007 15:50:49 +0000 (15:50 +0000)
commit31e5a1fc3860ecbb5d51fbb967d89e75b2ec3361
tree203d5cff0d1d0f2471d88714e4cda034820f1e77
parentc29fd080ff5ad128d4cd9f04cbe9e3e5cafde03c
make str2chr return 0 when used on an index outside the string (before, it didn't set the return value and would return something random)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7498 d7cf8633-e32d-0410-b094-e92efae38249
prvm_cmds.c