Skip to content

Commit

Permalink
v16 Android build
Browse files Browse the repository at this point in the history
  • Loading branch information
MoeMod committed Oct 23, 2018
1 parent 4032a36 commit 3938725
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion dlls/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ LOCAL_SRC_FILES := \
wpn_shared/wpn_ump45.cpp \
wpn_shared/wpn_usp.cpp \
wpn_shared/wpn_xm1014.cpp \
wpn_shared/wpn_knife_zombi.cpp \
gamemode/mods.cpp \
gamemode/mod_base.cpp \
gamemode/mod_none.cpp \
Expand Down
6 changes: 4 additions & 2 deletions dlls/player/player_zombie_skill.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,11 @@ void CBasePlayer::ZombieSkill_Start()
{
case SKILL_STATUS_USING:
case SKILL_STATUS_FREEZING:
char buf[16];
sprintf(buf, "%d", static_cast<int>(m_flTimeZombieSkillNext - gpGlobals->time));
ClientPrint(pev, HUD_PRINTCENTER,
"The 'Berserk' skill can't be used because the skill is in cooldown. [Remaining Cooldown Time: %s1 sec.]",
std::to_string(static_cast<int>(m_flTimeZombieSkillNext - gpGlobals->time)).c_str()
buf
); // #CSO_WaitCoolTimeNormal

break;
Expand Down Expand Up @@ -153,4 +155,4 @@ void CBasePlayer::ZombieSkill_Effect()
EMIT_SOUND(ENT(pev), CHAN_VOICE, "zombi/zombi_pre_idle_1.wav", VOL_NORM, ATTN_NORM);
else
EMIT_SOUND(ENT(pev), CHAN_VOICE, "zombi/zombi_pre_idle_2.wav", VOL_NORM, ATTN_NORM);
}
}

0 comments on commit 3938725

Please sign in to comment.