Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIPEOUT: reduce chances of repeat spawn locations #368

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dusty-qw
Copy link
Contributor

No description provided.

@@ -1249,7 +1249,7 @@ gedict_t* SelectSpawnPoint(char *spawnname)
gedict_t *spot = Sub_SelectSpawnPoint(spawnname);

// k_spw 4 feature, recheck spawn poit second time if we select same spawn point in row, so it low chance to get same spawn point
if ((match_in_progress == 2) && (k_lastspawn == spot) && (cvar("k_spw") == 4))
if ((match_in_progress == 2) && (k_lastspawn == spot) && (cvar("k_spw") == 4 || cvar("k_clan_arena") == 2))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

checking https://github.com/QW-Group/ktx/blob/master/src/commands.c#L4368-L4391 k_clan_arena is k_spw 1. It looks a bit odd to introduce a mode quirk here, is it perhaps that k_spw needs to evolve a bit instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel like it this is less odd than creating a near duplicate of an already uncommon spawn scheme. If there wasn't already one or two other modes using it, I'd just change the behavior of k_spw 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants