Fixed BO2 DevBlock Bug

This commit is contained in:
InfinityLoader
2023-10-28 00:17:17 -04:00
parent fbfff3c275
commit 1a9be4df02
597 changed files with 21918 additions and 12941 deletions

View File

@ -4,8 +4,8 @@
* Game: Call of Duty: Black Ops 2
* Platform: PC
* Function Count: 12
* Decompile Time: 26 ms
* Timestamp: 10/27/2023 3:01:58 AM
* Decompile Time: 1 ms
* Timestamp: 10/28/2023 12:11:15 AM
*******************************************************************/
//Function Number: 1
@ -68,9 +68,8 @@ save()
{
/#
println("save: Guy had no name!");
#/
}
#/
attachsize = self getattachsize();
for(i = 0;i < attachsize;i++)
{
@ -101,9 +100,8 @@ load(info)
{
/#
println("Load: Guy had no name!");
#/
}
#/
attachinfo = info["attach"];
attachsize = attachinfo.size;
for(i = 0;i < attachsize;i++)
@ -125,9 +123,8 @@ precache(info)
{
/#
println("Precache: Guy had no name!");
#/
}
#/
precachemodel(info["model"]);
attachinfo = info["attach"];
attachsize = attachinfo.size;

View File

@ -4,8 +4,8 @@
* Game: Call of Duty: Black Ops 2
* Platform: PC
* Function Count: 3
* Decompile Time: 6 ms
* Timestamp: 10/27/2023 3:01:58 AM
* Decompile Time: 0 ms
* Timestamp: 10/28/2023 12:11:15 AM
*******************************************************************/
#include codescripts/character;

View File

@ -4,8 +4,8 @@
* Game: Call of Duty: Black Ops 2
* Platform: PC
* Function Count: 1
* Decompile Time: 4 ms
* Timestamp: 10/27/2023 3:01:59 AM
* Decompile Time: 0 ms
* Timestamp: 10/28/2023 12:11:15 AM
*******************************************************************/
//Function Number: 1
@ -18,11 +18,15 @@ main()
if(IsDefined(self))
{
/#
println("");
println("*** trigger debug: delete.gsc is deleting trigger with ent#: " + self getentitynumber() + " at origin: " + self.origin);
println("");
self.classname == "trigger_once" || self.classname == "trigger_radius" || self.classname == "trigger_multiple"
IsDefined(self.classname)
if(IsDefined(self.classname))
{
if(self.classname == "trigger_once" || self.classname == "trigger_radius" || self.classname == "trigger_multiple")
{
println("");
println("*** trigger debug: delete.gsc is deleting trigger with ent#: " + self getentitynumber() + " at origin: " + self.origin);
println("");
}
}
#/
self delete();
}

View File

@ -4,8 +4,8 @@
* Game: Call of Duty: Black Ops 2
* Platform: PC
* Function Count: 3
* Decompile Time: 5 ms
* Timestamp: 10/27/2023 3:01:59 AM
* Decompile Time: 0 ms
* Timestamp: 10/28/2023 12:11:16 AM
*******************************************************************/
//Function Number: 1