mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 00:41:55 +00:00
- Exhumed: fixed handling of torch messages for localization
This commit is contained in:
parent
2cece35902
commit
6e919f2364
1 changed files with 2 additions and 12 deletions
|
@ -794,8 +794,6 @@ void DoLights()
|
|||
|
||||
void SetTorch(int nPlayer, int bTorchOnOff)
|
||||
{
|
||||
char buf[40];
|
||||
|
||||
if (bTorchOnOff == bTorch) {
|
||||
return;
|
||||
}
|
||||
|
@ -815,16 +813,8 @@ void SetTorch(int nPlayer, int bTorchOnOff)
|
|||
PlayLocalSound(StaticSound[kSoundTorchOn], 0);
|
||||
}
|
||||
|
||||
strcpy(buf, "TORCH IS ");
|
||||
|
||||
if (bTorch) {
|
||||
strcat(buf, "LIT");
|
||||
}
|
||||
else {
|
||||
strcat(buf, "OUT");
|
||||
}
|
||||
|
||||
StatusMessage(150, buf);
|
||||
const char* buf = bTorch ? "TXT_EX_TORCHLIT" : "TXT_EX_TORCHOUT";
|
||||
StatusMessage(150, GStrings(buf));
|
||||
}
|
||||
|
||||
void BuildFlash(short nPlayer, short, int nVal)
|
||||
|
|
Loading…
Reference in a new issue