Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » SSAOW Warning
Re: SSAOW Warning [message #211006 is a reply to message #210476] Wed, 02 August 2006 15:25 Go to previous message
sycar is currently offline  sycar
Messages: 144
Registered: February 2006
Location: Reading, UK
Karma:
Recruit
Thanks to WD he gave me the below fix for anyone who wants it.

In AOW.cpp replace:

char *Translate_Preset(GameObject *obj)
{
	const char *preset = Commands->Get_Preset_Name(obj);
	char *TransName = new char[256];
	getProfileString  ("Translated_Preset",preset,preset,TransName,256,"ssaow.ini");
	return TransName;
}


with:

const char *Translate_Preset(GameObject *obj)
{
	return Get_Translated_Preset_Name(obj);
}


and replace:

char *Translate_Weapon(GameObject *obj)
{
	const char *preset = Get_Current_Weapon(obj);
	char *TransName = new char[256];
	getProfileString("Translated_Preset",preset,preset,TransName,256,"ssaow.ini");
	return TransName;
}


with:

const char *Translate_Weapon(GameObject *obj) 
{
	return Get_Current_Translated_Weapon(obj);
}


hope this helps!

buffymaniack
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Renegade on a new game engine?
Next Topic: Animation
Goto Forum:
  


Current Time: Thu Dec 12 11:59:45 MST 2024

Total time taken to generate the page: 0.00774 seconds