Skip to content

Commit 3938725

Browse files
committed
v16 Android build
1 parent 4032a36 commit 3938725

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

dlls/Android.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,6 @@ LOCAL_SRC_FILES := \
155155
wpn_shared/wpn_ump45.cpp \
156156
wpn_shared/wpn_usp.cpp \
157157
wpn_shared/wpn_xm1014.cpp \
158-
wpn_shared/wpn_knife_zombi.cpp \
159158
gamemode/mods.cpp \
160159
gamemode/mod_base.cpp \
161160
gamemode/mod_none.cpp \

dlls/player/player_zombie_skill.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,11 @@ void CBasePlayer::ZombieSkill_Start()
4242
{
4343
case SKILL_STATUS_USING:
4444
case SKILL_STATUS_FREEZING:
45+
char buf[16];
46+
sprintf(buf, "%d", static_cast<int>(m_flTimeZombieSkillNext - gpGlobals->time));
4547
ClientPrint(pev, HUD_PRINTCENTER,
4648
"The 'Berserk' skill can't be used because the skill is in cooldown. [Remaining Cooldown Time: %s1 sec.]",
47-
std::to_string(static_cast<int>(m_flTimeZombieSkillNext - gpGlobals->time)).c_str()
49+
buf
4850
); // #CSO_WaitCoolTimeNormal
4951

5052
break;
@@ -153,4 +155,4 @@ void CBasePlayer::ZombieSkill_Effect()
153155
EMIT_SOUND(ENT(pev), CHAN_VOICE, "zombi/zombi_pre_idle_1.wav", VOL_NORM, ATTN_NORM);
154156
else
155157
EMIT_SOUND(ENT(pev), CHAN_VOICE, "zombi/zombi_pre_idle_2.wav", VOL_NORM, ATTN_NORM);
156-
}
158+
}

0 commit comments

Comments
 (0)