diff options
author | James Haley | 2012-04-02 03:21:45 +0000 |
---|---|---|
committer | James Haley | 2012-04-02 03:21:45 +0000 |
commit | 1e7908feb322f4ad8a88008964f1558861348ae6 (patch) | |
tree | 0d442e95e842f32abf7005926c4f48a2e3ff9319 /src/strife/p_inter.c | |
parent | 81f8ac6c5718ac37dcc713a6e092493190c1998b (diff) | |
download | chocolate-doom-1e7908feb322f4ad8a88008964f1558861348ae6.tar.gz chocolate-doom-1e7908feb322f4ad8a88008964f1558861348ae6.tar.bz2 chocolate-doom-1e7908feb322f4ad8a88008964f1558861348ae6.zip |
Fix to undefined sprintf behavior in the dialog engine (thanks to
MP2E!). Other changes are to comments only.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2509
Diffstat (limited to 'src/strife/p_inter.c')
-rw-r--r-- | src/strife/p_inter.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/strife/p_inter.c b/src/strife/p_inter.c index 4a7a173d..9bedd78c 100644 --- a/src/strife/p_inter.c +++ b/src/strife/p_inter.c @@ -260,7 +260,6 @@ boolean P_GiveBody(player_t* player, int num) // Set mo->health for consistency. // haleyjd 20110225: Seems Strife can call this on a NULL player->mo // when giving items to players that are not in the game... - // STRIFE-FIXME: needs major verification! mo = P_SubstNullMobj(player->mo); mo->health = player->health; } @@ -287,7 +286,7 @@ boolean P_GiveBody(player_t* player, int num) if(player->health >= healing) return false; - // Set health. Oddly, mo->health is NOT set here... + // Set health. BUG: Oddly, mo->health is NOT set here... player->health = healing; } |