From 02536fe278689eee975f41bc26940418819ef311 Mon Sep 17 00:00:00 2001 From: ChrisMiuchiz Date: Tue, 24 Sep 2019 17:41:19 -0400 Subject: [PATCH] Update to 0.9.1-3 --- cwmods/cube/ChatWidget.cpp | 2 +- cwmods/cube/Game.h | 4 ++-- cwmods/cwmods.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cwmods/cube/ChatWidget.cpp b/cwmods/cube/ChatWidget.cpp index 58a4394..815d256 100644 --- a/cwmods/cube/ChatWidget.cpp +++ b/cwmods/cube/ChatWidget.cpp @@ -3,7 +3,7 @@ void cube::ChatWidget::PrintMessage(wchar_t* message, FloatRGBA* color){ msvc::wstring str(message); - ((void(*)(cube::ChatWidget*, msvc::wstring*, FloatRGBA*))CWBase()+0x269DB0)(this, &str, color); + ((void(*)(cube::ChatWidget*, msvc::wstring*, FloatRGBA*))CWBase()+0x26A1A0)(this, &str, color); } void cube::ChatWidget::PrintMessage(wchar_t* message) { diff --git a/cwmods/cube/Game.h b/cwmods/cube/Game.h index 2fc4ff9..fa511ba 100644 --- a/cwmods/cube/Game.h +++ b/cwmods/cube/Game.h @@ -40,7 +40,7 @@ namespace cube { _BYTE gap660[136]; cube::Host host; _BYTE gapCFA[3158]; - void *onP2PSessionRequest; + void* onP2PSessionRequest; _BYTE gap1960[536]; int fullscreen; int width; @@ -61,7 +61,7 @@ namespace cube { int rarity_coding; _BYTE gap1BBC[1100]; msvc::string *current_music_file; - _BYTE gap2010[60]; + _BYTE gap2010[68]; int seed; msvc::string world_name; _BYTE gap2070[503]; diff --git a/cwmods/cwmods.cpp b/cwmods/cwmods.cpp index f09b766..a24b455 100644 --- a/cwmods/cwmods.cpp +++ b/cwmods/cwmods.cpp @@ -1,4 +1,4 @@ -#define MOD_MAJOR_VERSION 1 +#define MOD_MAJOR_VERSION 2 #define MOD_MINOR_VERSION 1 #include "cwmods.h"