]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commit
Use m_name for vehicles and monsters
authorotta8634 <k9wolf@pm.me>
Fri, 20 Dec 2024 09:00:47 +0000 (17:00 +0800)
committerotta8634 <k9wolf@pm.me>
Fri, 20 Dec 2024 09:00:47 +0000 (17:00 +0800)
commit2e32f2e7d3253f16c66a3f381fa7bd45328a0f10
treec74b9085af118d238f58d2a2c4666c266fb46f8f
parent022e9b9af3050631aa5dff81127b6115b1d74c9e
Use m_name for vehicles and monsters

Previously monster_name and vehicle_name were used, which were obviously used nowhere else.
Renamed them both to m_name, mostly so that the COLORED_NAME macro can work on them, and also so that there's less unnecessary entity fields.
16 files changed:
qcsrc/common/gamemodes/gamemode/ctf/sv_ctf.qc
qcsrc/common/gamemodes/gamemode/invasion/sv_invasion.qc
qcsrc/common/monsters/monster.qh
qcsrc/common/monsters/monster/golem.qh
qcsrc/common/monsters/monster/mage.qh
qcsrc/common/monsters/monster/spider.qh
qcsrc/common/monsters/monster/wyvern.qh
qcsrc/common/monsters/monster/zombie.qh
qcsrc/common/monsters/sv_monsters.qc
qcsrc/common/mutators/mutator/waypoints/waypointsprites.qc
qcsrc/common/vehicles/vehicle.qh
qcsrc/common/vehicles/vehicle/bumblebee.qh
qcsrc/common/vehicles/vehicle/racer.qh
qcsrc/common/vehicles/vehicle/raptor.qh
qcsrc/common/vehicles/vehicle/spiderbot.qh
qcsrc/server/command/common.qc