Revisión | 1e3c39092b60ea21d2f7c8d64d2e042184602b19 (tree) |
---|---|
Tiempo | 2022-03-08 23:33:18 |
Autor | Léonard <hobbax3@gmai...> |
Commiter | Léonard |
Removed some of the leftover delta from the 3.1 merge.
@@ -1193,7 +1193,7 @@ | ||
1193 | 1193 | if ( debugfile ) |
1194 | 1194 | fprintf( debugfile, "Missing packet %d.\n", static_cast<int> (lIdx) ); |
1195 | 1195 | |
1196 | - g_LocalBuffer.ByteStream.WriteLong(lIdx); | |
1196 | + g_LocalBuffer.ByteStream.WriteLong( lIdx ); | |
1197 | 1197 | CLIENTSTATISTICS_AddToMissingPacketsRequested ( 1 ); |
1198 | 1198 | |
1199 | 1199 | // [Leo] Print how many packets we missed. |
@@ -5542,10 +5542,6 @@ | ||
5542 | 5542 | actor->velx = momx; |
5543 | 5543 | actor->vely = momy; |
5544 | 5544 | actor->velz = momz; |
5545 | - | |
5546 | - actor->PrevX = x; | |
5547 | - actor->PrevY = y; | |
5548 | - actor->PrevZ = z; | |
5549 | 5545 | |
5550 | 5546 | // Also, if this is a player, set his bobbing appropriately. |
5551 | 5547 | if ( actor->player ) |
@@ -1096,8 +1096,6 @@ | ||
1096 | 1096 | int step = (( changespy == SPY_NEXT ) || ( changespy == SPY_CARRIER )) ? 1 : -1; |
1097 | 1097 | int originalplayer = player - players; |
1098 | 1098 | |
1099 | - bool valid = false; | |
1100 | - | |
1101 | 1099 | // [SP] Let's ignore special LMS settigns if we're playing a demo. Otherwise, we need to enforce |
1102 | 1100 | // LMS rules for spectators using spy. |
1103 | 1101 | if (( CLIENTDEMO_IsPlaying( ) == false ) && (( lmsspectatorsettings & LMS_SPF_VIEW ) == false )) |
@@ -85,7 +85,6 @@ | ||
85 | 85 | EXTERN_CVAR (Bool, am_showtotaltime) |
86 | 86 | EXTERN_CVAR (Bool, noisedebug) |
87 | 87 | EXTERN_CVAR (Bool, con_scaletext) |
88 | -EXTERN_CVAR (Int, vid_defheight) | |
89 | 88 | |
90 | 89 | DBaseStatusBar *StatusBar; |
91 | 90 |
@@ -1800,7 +1799,7 @@ | ||
1800 | 1799 | return; |
1801 | 1800 | |
1802 | 1801 | // Look for players directly in front of the player. |
1803 | - if( camera ) | |
1802 | + if ( camera ) | |
1804 | 1803 | { |
1805 | 1804 | player_t *pTargetPlayer; |
1806 | 1805 | ULONG ulTextColor; |
@@ -5486,7 +5486,7 @@ | ||
5486 | 5486 | if ( trace.Actor->player == NULL ) |
5487 | 5487 | return ( NULL ); |
5488 | 5488 | |
5489 | - // Return the actor we found. | |
5489 | + // Return the player we found. | |
5490 | 5490 | return ( trace.Actor->player ); |
5491 | 5491 | } |
5492 | 5492 | } |
@@ -543,7 +543,6 @@ | ||
543 | 543 | switch (bobstyle) |
544 | 544 | { |
545 | 545 | case AWeapon::BobNormal: |
546 | - default: | |
547 | 546 | *x = FixedMul(bobx, finecosine[angle]); |
548 | 547 | *y = FixedMul(boby, finesine[angle & (FINEANGLES/2-1)]); |
549 | 548 | break; |
@@ -3557,6 +3557,7 @@ | ||
3557 | 3557 | player->mo->flags5 &= ~MF5_NOINTERACTION; |
3558 | 3558 | |
3559 | 3559 | cmd = &player->cmd; |
3560 | + | |
3560 | 3561 | // Make unmodified copies for ACS's GetPlayerInput. |
3561 | 3562 | player->original_oldbuttons = player->original_cmd.buttons; |
3562 | 3563 | player->original_cmd = cmd->ucmd; |
@@ -2554,7 +2554,7 @@ | ||
2554 | 2554 | { |
2555 | 2555 | // counter for general background animation |
2556 | 2556 | bcnt++; |
2557 | - | |
2557 | + | |
2558 | 2558 | if (bcnt == 1) |
2559 | 2559 | { |
2560 | 2560 | // [BB] |