Thread
:
[EXTENSION] Nav File Download Blocker (Linux fixed)
View Single Post
Chrisber
AlliedModders Donor
Join Date: Jul 2007
Location: localhost
08-12-2012 , 05:25 Re: [EXTENSION] [TF2] Nav File Download Blocker
#
2
Does this work for other mods, too?
Edit: Wouldn't it be better to do:
Code:
size_t len = strlen(file); if (len > 3 && stricmp(file + len - 4, ".nav") == 0)
So it wouldn't match if the .nav is in the middle of the path.
Last edited by Chrisber; 08-12-2012 at
05:29
.
Chrisber
View Public Profile
Send a private message to Chrisber
Visit Chrisber's homepage!
Find More Posts by Chrisber