Files
firestorm/Gameleap/code/mw4/Code/MW4/flag_tool.cpp
T
Cyd 2b8ca921cb Initial full mirror of c:\VWE (source + assets + toolchain + outputs) via Git LFS
Complete disaster-recovery snapshot: engine/game source, game data assets,
VC6 toolchain + DX SDKs, build outputs, deployed game, and _UNUSED archive.
Large binaries in Git LFS; text preserved byte-for-byte (core.autocrlf=false,
no eol attributes). See RECOVERY.md for the one-clone rebuild procedure.
2026-06-24 21:28:16 -05:00

27 lines
400 B
C++

#include "MW4Headers.hpp"
#include "Flag.hpp"
void Flag::SaveInstanceText(Stuff::Page *page)
{
BaseClass::SaveInstanceText(page);
MString s(instanceName);
s.ToLower();
if (s == "flag_team0")
{
s = "Flag";
}
else if (s == "flag_team1")
{
s = "Blue Flag";
}
else if (s == "flag_team2")
{
s = "Red Flag";
}
page->SetEntry("LocalizedInstanceName", s);
}