mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Hyudoro: Fix an exploit where a player in first can touch their hyudotro while in first on a weirdly shaped map.
This commit is contained in:
parent
a6ecb25ed5
commit
4b90a8d8bf
1 changed files with 5 additions and 0 deletions
|
|
@ -482,6 +482,11 @@ award_immediately (mobj_t *hyu)
|
||||||
|
|
||||||
if (player)
|
if (player)
|
||||||
{
|
{
|
||||||
|
if (player->position == 1)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
if (player->itemamount &&
|
if (player->itemamount &&
|
||||||
player->itemtype != hyudoro_itemtype(hyu))
|
player->itemtype != hyudoro_itemtype(hyu))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue