Skip to content

Commit 9c5b0a6

Browse files
committed
Use MD5_IDENTSTRING
1 parent c164862 commit 9c5b0a6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/engine/renderer/tr_animation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ qhandle_t RE_RegisterAnimation( const char *name )
540540
return 0;
541541
}
542542

543-
if ( Str::IsPrefix( "MD5Version", buffer ) )
543+
if ( Str::IsPrefix( MD5_IDENTSTRING, buffer ) )
544544
{
545545
loaded = R_LoadMD5Anim( anim, buffer.c_str(), name );
546546
}

src/engine/renderer/tr_model.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ qhandle_t RE_RegisterModel( const char *name )
147147

148148
if ( !err )
149149
{
150-
if ( Str::IsIPrefix( "MD5Version", buffer ) )
150+
if ( Str::IsIPrefix( MD5_IDENTSTRING, buffer ) )
151151
{
152152
loaded = R_LoadMD5( mod, buffer.c_str(), name );
153153
}

0 commit comments

Comments
 (0)