mirror of
https://github.com/dhewm/dhewm3-sdk.git
synced 2024-11-21 20:21:19 +00:00
Fix warning: left shift count >= width of type
This commit is contained in:
parent
a08e239e28
commit
7601f12ba4
1 changed files with 1 additions and 1 deletions
|
@ -335,7 +335,7 @@ void Cmd_Give_f( const idCmdArgs &args ) {
|
|||
}
|
||||
|
||||
if ( give_all || idStr::Icmp( name, "weapons" ) == 0 ) {
|
||||
player->inventory.weapons = BIT( MAX_WEAPONS ) - 1;
|
||||
player->inventory.weapons = 0xffffffff >> ( 32 - MAX_WEAPONS );
|
||||
player->CacheWeapons();
|
||||
|
||||
if ( !give_all ) {
|
||||
|
|
Loading…
Reference in a new issue