mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
remove annoying warning on MSVC 19.37.32822
`register` keyword does exactly nothing: https://learn.microsoft.com/en-us/cpp/error-messages/compiler-warnings/c5033?view=msvc-170
This commit is contained in:
committed by
majcosta
parent
8d49e74df4
commit
b68f206969
+2
-2
@@ -15271,7 +15271,7 @@ BOOLEAN HasItemFlag( UINT16 usItem, UINT64 aFlag )
|
||||
// Flugente: get first item number that has this flag. Use with caution, as we search in all items
|
||||
BOOLEAN GetFirstItemWithFlag( UINT16* pusItem, UINT64 aFlag )
|
||||
{
|
||||
register UINT16 i;
|
||||
UINT16 i;
|
||||
for ( i = 1; i < gMAXITEMS_READ; ++i )
|
||||
{
|
||||
if ( HasItemFlag(i, aFlag) )
|
||||
@@ -15537,7 +15537,7 @@ BOOLEAN GetFirstClothesItemWithSpecificData( UINT16* pusItem, PaletteRepID aPalV
|
||||
UINT32 bestclothestype = 999999;
|
||||
UINT16 bestitem = 0;
|
||||
|
||||
register UINT16 i;
|
||||
UINT16 i;
|
||||
for ( i = 1; i < gMAXITEMS_READ; ++i )
|
||||
{
|
||||
if ( Item[i].clothestype > 0 )
|
||||
|
||||
Reference in New Issue
Block a user