Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
SPRAVEDLIVO committed May 4, 2021
1 parent 7c418be commit 0a18a59
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/main/kotlin/rat/poison/RatPoison.kt
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ data class sWeapon(var tSkinID: Int, var tStatTrak: Int, var tWear: Float, var t
const val TITLE = "RatPoison"
const val BRANCH = "Beta"
const val F_VERSION = "1.8"
const val M_VERSION = "1.8.5.5"
const val M_VERSION = "1.8.5.6"
var LOADED_CONFIG = "DEFAULT"
var oWeaponSize = oWeapon::class.java.declaredFields.size

Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/rat/poison/scripts/visuals/BoxESP.kt
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ private var leftShiftY = 0F
private var rightShiftY = 0F
private var barWidth = 0F

private const val entityMemorySize = 45948
private const val entityMemorySize = 45952
private val entMemory = threadLocalPointer(entityMemorySize)
private const val forEntsId = "boxesp"
//p250 & cz75 share same classid, create enum for WeaponItemIndex using m_iItemDefinitionIndex
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/rat/poison/scripts/visuals/HitsoundESP.kt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ fun hitSoundEsp() = every(50, inGameCheck = true) {

if (totalHits != curHits) {
totalHits = curHits
val hitSound = assetManager.get<Sound>("$SETTINGS_DIRECTORY/hitsounds/${curSettings["KILLSOUND_FILE_NAME"].replace("\"", "")}")
val hitSound = assetManager.get<Sound>("$SETTINGS_DIRECTORY/hitsounds/${curSettings["HITSOUND_FILE_NAME"].replace("\"", "")}")
hitSound.play(curSettings.float["HITSOUND_VOLUME"])
totalHits = curHits
}
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
1.8.5.5
1.8.5.6
beta

0 comments on commit 0a18a59

Please sign in to comment.