Skip to content

Commit e70eaaf

Browse files
committed
fixed unneeded case change on RETURN_TRUE and RETURN_FALSE functions.
1 parent 817dea5 commit e70eaaf

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/game/shared/ms/iscript.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,11 +229,11 @@ inline const char* RETURN_ZERO() {
229229
return "0";
230230
}
231231

232-
inline const char* RETURN_true(){
232+
inline const char* RETURN_TRUE(){
233233
return "1";
234234
}
235235

236-
inline const char* RETURN_false() {
236+
inline const char* RETURN_FALSE() {
237237
return "0";
238238
}
239239

src/game/shared/ms/script.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -774,9 +774,9 @@ msstring CScript::ScriptGetter_Cone(msstring& FullName, msstring& ParserName, ms
774774
if (ParserName.starts_with("$within_cone"))
775775
{
776776
if (flDot >= ConeFOV)
777-
return RETURN_true();
777+
return RETURN_TRUE();
778778
else
779-
return RETURN_false();
779+
return RETURN_FALSE();
780780
}
781781
else return RETURN_FLOAT(flDot);
782782
}

0 commit comments

Comments
 (0)