1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-03-23 21:29:13 +02:00

Merge pull request #1944 from Laserlicht/patch-1

Nullkiller -> Standard-AI
This commit is contained in:
Ivan Savenko 2023-04-12 12:48:13 +03:00 committed by GitHub
commit 05550158ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -89,7 +89,7 @@ public class Config
config.mVolumeSound = loadEntry(general, "sound", DEFAULT_SOUND_VALUE);
config.mVolumeMusic = loadEntry(general, "music", DEFAULT_MUSIC_VALUE);
config.mSwipeEnabled = loadEntry(general, "swipe", true);
config.adventureAi = loadEntry(server, "playerAI", "VCAI");
config.adventureAi = loadEntry(server, "playerAI", "Nullkiller");
config.mUseRelativePointer = loadEntry(general, "userRelativePointer", false);
config.mPointerSpeedMultiplier = loadDouble(general, "relativePointerSpeedMultiplier", 1.0);
@ -140,7 +140,7 @@ public class Config
public String getAdventureAi()
{
return this.adventureAi == null ? "VCAI" : this.adventureAi;
return this.adventureAi == null ? "Nullkiller" : this.adventureAi;
}
public void setPointerSpeedMultiplier(float speedMultiplier)