summaryrefslogtreecommitdiff
path: root/source/ui_playermodels.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2008-04-02 23:03:09 +0000
committerAndrey Nazarov <skuller@skuller.net>2008-04-02 23:03:09 +0000
commit7ec50f12252b4dfb97f3249ccf05a771b98785c1 (patch)
tree279e4e8bd7b940368331a43869c165de9637ae99 /source/ui_playermodels.c
parent80e48417564f1ce50a39a7c552ad95e651362c1f (diff)
Use size_t instead of int where possible.
Added initial support for Win64 port.
Diffstat (limited to 'source/ui_playermodels.c')
-rw-r--r--source/ui_playermodels.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/ui_playermodels.c b/source/ui_playermodels.c
index 83f22a7..91250a7 100644
--- a/source/ui_playermodels.c
+++ b/source/ui_playermodels.c
@@ -140,7 +140,7 @@ void PlayerModel_Load( void ) {
// verify the existence of tris.md2
Q_concat( scratch, sizeof( scratch ), "players/", dirnames[i], "/tris.md2", NULL );
- if( fs.LoadFile( scratch, NULL ) < 1 ) {
+ if( fs.LoadFile( scratch, NULL ) == INVALID_LENGTH ) {
continue;
}